From 9173b3cdc1ad431ac9f46f1487296c43f49baa64 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Mon, 28 Oct 2024 14:45:51 +0900 Subject: [PATCH] fixed ViewController.cpp ifs --- es-app/src/views/ViewController.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/es-app/src/views/ViewController.cpp b/es-app/src/views/ViewController.cpp index 79b838e06..182646c59 100644 --- a/es-app/src/views/ViewController.cpp +++ b/es-app/src/views/ViewController.cpp @@ -300,7 +300,9 @@ void ViewController::noGamesDialog() SDL_PushEvent(&quit); } ); -#elif defined(__ANDROID__) +#else + +#if defined(__ANDROID__) mNoGamesMessageBox = new GuiMsgBox( HelpStyle(), mNoGamesErrorMessage + mRomDirectory, #else @@ -426,6 +428,7 @@ void ViewController::noGamesDialog() 0.90f : 0.62f * (1.778f / mRenderer->getScreenAspectRatio()))); #endif +#endif // RetroDECK mWindow->pushGui(mNoGamesMessageBox); }