mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
(Android) Added proper configurator behavior on application startup
This commit is contained in:
parent
ea8148bbf5
commit
1437207e91
|
@ -593,11 +593,15 @@ int main(int argc, char* argv[])
|
|||
#endif
|
||||
|
||||
#if defined(__ANDROID__)
|
||||
Utils::Platform::Android::requestStoragePermission();
|
||||
if (Utils::Platform::Android::checkConfigurationNeeded())
|
||||
Utils::Platform::Android::startConfigurator();
|
||||
|
||||
while (AndroidVariables::sHold)
|
||||
SDL_Delay(20);
|
||||
|
||||
if (Utils::Platform::Android::checkConfigurationNeeded())
|
||||
exit(0);
|
||||
|
||||
Utils::Platform::Android::setDataDirectories();
|
||||
Utils::Platform::Android::setROMDirectory();
|
||||
#endif
|
||||
|
@ -916,6 +920,8 @@ int main(int argc, char* argv[])
|
|||
}
|
||||
}
|
||||
}
|
||||
if (Utils::Platform::Android::getCreateSystemDirectories())
|
||||
SystemData::createSystemDirectories();
|
||||
#endif
|
||||
|
||||
#if defined(APPLICATION_UPDATER)
|
||||
|
|
Loading…
Reference in a new issue