Deshabilitada la opción de cambio de modo de video con la directiva de compilador ARCADE

This commit is contained in:
2024-09-03 14:05:55 +02:00
parent 548976c955
commit c72dfe5876

View File

@@ -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;
}