From c72dfe5876a1282a3b5f87a7e780fa46cf492674 Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Tue, 3 Sep 2024 14:05:55 +0200 Subject: [PATCH] =?UTF-8?q?Deshabilitada=20la=20opci=C3=B3n=20de=20cambio?= =?UTF-8?q?=20de=20modo=20de=20video=20con=20la=20directiva=20de=20compila?= =?UTF-8?q?dor=20ARCADE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/common/screen.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/common/screen.cpp b/source/common/screen.cpp index 30cd5cf..53d1dbb 100644 --- a/source/common/screen.cpp +++ b/source/common/screen.cpp @@ -294,6 +294,7 @@ void Screen::update() // Comprueba las entradas void Screen::checkInput() { +#ifndef ARCADE if (input->checkInput(input_window_fullscreen, DO_NOT_ALLOW_REPEAT)) { switchVideoMode(); @@ -321,8 +322,9 @@ void Screen::checkInput() const std::string value = options->video.shaders ? "on" : "off"; showNotification("Shaders " + value); } +#endif - else if (input->checkInput(input_showfps, DO_NOT_ALLOW_REPEAT)) + if (input->checkInput(input_showfps, DO_NOT_ALLOW_REPEAT)) { showFps = !showFps; }