Correcciones en el botón de servicio

This commit is contained in:
2024-09-15 15:27:12 +02:00
parent 41e57064cb
commit 333c905b1a
21 changed files with 224 additions and 105 deletions

View File

@@ -7,6 +7,7 @@
#include "jshader.h"
#endif
#include "dbgtxt.h"
#include "../service.h"
// Constructor
Screen::Screen(SDL_Window *window, SDL_Renderer *renderer, Asset *asset, Input *input, options_t *options)
@@ -142,7 +143,7 @@ void Screen::setVideoMode(int videoMode)
{
#ifdef ARCADE
videoMode = SCREEN_VIDEO_MODE_WINDOW;
//videoMode = SCREEN_VIDEO_MODE_FULLSCREEN;
// videoMode = SCREEN_VIDEO_MODE_FULLSCREEN;
#endif
// Si está activo el modo ventana quita el borde
@@ -350,6 +351,12 @@ void Screen::checkInput()
{
showInfo = !showInfo;
}
// Comprueba el botón de SERVICE
if (checkServiceButton(input) == SERVICE_SHADERS)
{
switchShaders();
}
}
// Agita la pantalla