mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-12-26 19:21:50 +01:00
move up audio init
This commit is contained in:
parent
2d47a47f51
commit
b27d4a7d09
@ -407,6 +407,9 @@ main(int argc, char *argv[])
|
|||||||
// Initialize libFAT for SD and USB
|
// Initialize libFAT for SD and USB
|
||||||
MountAllFAT();
|
MountAllFAT();
|
||||||
|
|
||||||
|
// Audio
|
||||||
|
AUDIO_Init (NULL);
|
||||||
|
|
||||||
// Set defaults
|
// Set defaults
|
||||||
DefaultSettings ();
|
DefaultSettings ();
|
||||||
|
|
||||||
@ -438,9 +441,6 @@ main(int argc, char *argv[])
|
|||||||
S9xSetSoundMute (TRUE);
|
S9xSetSoundMute (TRUE);
|
||||||
S9xInitSync(); // initialize frame sync
|
S9xInitSync(); // initialize frame sync
|
||||||
|
|
||||||
// Audio
|
|
||||||
AUDIO_Init (NULL);
|
|
||||||
|
|
||||||
// Initialize font system
|
// Initialize font system
|
||||||
fontSystem = new FreeTypeGX();
|
fontSystem = new FreeTypeGX();
|
||||||
fontSystem->loadFont(font_ttf, font_ttf_size, 0);
|
fontSystem->loadFont(font_ttf, font_ttf_size, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user