From d257a42b22c6dd442edf11e1a77d8757a7359343 Mon Sep 17 00:00:00 2001 From: InspirationByte Date: Thu, 13 Jan 2022 22:21:26 +0300 Subject: [PATCH] - [Psy-X] skip swap interval only in DEBUG build --- src_rebuild/PsyCross/src/PsyX_main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src_rebuild/PsyCross/src/PsyX_main.cpp b/src_rebuild/PsyCross/src/PsyX_main.cpp index 13cbc0cf..db30f5ba 100644 --- a/src_rebuild/PsyCross/src/PsyX_main.cpp +++ b/src_rebuild/PsyCross/src/PsyX_main.cpp @@ -831,6 +831,7 @@ void PsyX_Sys_DoDebugKeys(int nKey, char down) if (gameDebugKeys) gameDebugKeys(nKey, down); +#ifdef _DEBUG if (nKey == SDL_SCANCODE_BACKSPACE) { if (down) @@ -838,6 +839,7 @@ void PsyX_Sys_DoDebugKeys(int nKey, char down) else g_skipSwapInterval = 0; } +#endif if (!down) {