(Android) Eliminated an unnecessary configurator check

This commit is contained in:
Leon Styhre 2024-01-08 18:27:27 +01:00
parent 2c850ba325
commit 2356bd248f

View file

@ -593,14 +593,15 @@ int main(int argc, char* argv[])
#endif #endif
#if defined(__ANDROID__) #if defined(__ANDROID__)
if (Utils::Platform::Android::checkConfigurationNeeded()) if (Utils::Platform::Android::checkConfigurationNeeded()) {
Utils::Platform::Android::startConfigurator(); Utils::Platform::Android::startConfigurator();
while (AndroidVariables::sHold) while (AndroidVariables::sHold)
SDL_Delay(20); SDL_Delay(20);
if (Utils::Platform::Android::checkConfigurationNeeded()) if (Utils::Platform::Android::checkConfigurationNeeded())
exit(0); exit(0);
}
Utils::Platform::Android::setDataDirectories(); Utils::Platform::Android::setDataDirectories();
Utils::Platform::Android::setROMDirectory(); Utils::Platform::Android::setROMDirectory();