mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
Moved the AudioManager initialization a bit forward during startup.
This commit is contained in:
parent
320f81ab4f
commit
84ecb7489e
|
@ -492,8 +492,6 @@ int main(int argc, char* argv[])
|
||||||
SDL_SetRelativeMouseMode(SDL_TRUE);
|
SDL_SetRelativeMouseMode(SDL_TRUE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
AudioManager::getInstance();
|
|
||||||
|
|
||||||
if (splashScreen) {
|
if (splashScreen) {
|
||||||
std::string progressText = "Loading...";
|
std::string progressText = "Loading...";
|
||||||
if (splashScreenProgress)
|
if (splashScreenProgress)
|
||||||
|
@ -501,6 +499,7 @@ int main(int argc, char* argv[])
|
||||||
window.renderLoadingScreen(progressText);
|
window.renderLoadingScreen(progressText);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AudioManager::getInstance();
|
||||||
MameNames::init();
|
MameNames::init();
|
||||||
loadSystemsReturnCode loadSystemsStatus = loadSystemConfigFile();
|
loadSystemsReturnCode loadSystemsStatus = loadSystemConfigFile();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue