move up audio init

This commit is contained in:
dborth 2009-06-05 05:18:03 +00:00
parent 2d47a47f51
commit b27d4a7d09

View File

@ -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);