diff options
| author | KiritoDv <kiritodev01@gmail.com> | 2025-03-07 18:13:03 -0600 |
|---|---|---|
| committer | KiritoDv <kiritodev01@gmail.com> | 2025-03-07 18:13:03 -0600 |
| commit | 21667ef4b31f3415a8ad70669e338f7902d24da3 (patch) | |
| tree | 711ed0294cece06c3913dc6616efb2e6404f4788 /src/port/Engine.cpp | |
| parent | a8743658e0ae82f21f817947c9a1b896269e8956 (diff) | |
Enabled quit again
Diffstat (limited to 'src/port/Engine.cpp')
| -rw-r--r-- | src/port/Engine.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/port/Engine.cpp b/src/port/Engine.cpp index 5fae7887..01d111fc 100644 --- a/src/port/Engine.cpp +++ b/src/port/Engine.cpp @@ -538,6 +538,9 @@ int GameEngine::ShowYesNoBox(const char* title, const char* box) { int ret; #ifdef _WIN32 ret = MessageBoxA(nullptr, box, title, MB_YESNO | MB_ICONQUESTION); +#elif defined(__SWITCH__) + SPDLOG_ERROR(box); + return IDYES; #else SDL_MessageBoxData boxData = { 0 }; SDL_MessageBoxButtonData buttons[2] = { { 0 } }; |
