fixed ViewController.cpp ifs

This commit is contained in:
XargonWan 2024-10-28 14:45:51 +09:00
parent 2384ad2ab2
commit 9173b3cdc1

View file

@ -300,7 +300,9 @@ void ViewController::noGamesDialog()
SDL_PushEvent(&quit); SDL_PushEvent(&quit);
} }
); );
#elif defined(__ANDROID__) #else
#if defined(__ANDROID__)
mNoGamesMessageBox = new GuiMsgBox( mNoGamesMessageBox = new GuiMsgBox(
HelpStyle(), mNoGamesErrorMessage + mRomDirectory, HelpStyle(), mNoGamesErrorMessage + mRomDirectory,
#else #else
@ -426,6 +428,7 @@ void ViewController::noGamesDialog()
0.90f : 0.90f :
0.62f * (1.778f / mRenderer->getScreenAspectRatio()))); 0.62f * (1.778f / mRenderer->getScreenAspectRatio())));
#endif #endif
#endif // RetroDECK
mWindow->pushGui(mNoGamesMessageBox); mWindow->pushGui(mNoGamesMessageBox);
} }