Implementado código de salida de la aplicación

This commit is contained in:
2024-09-09 13:51:16 +02:00
parent 922d146781
commit 83fb2f30ba
4 changed files with 9 additions and 4 deletions

View File

@@ -248,6 +248,7 @@ void Title::checkInput()
if (input->checkInput(input_exit, DO_NOT_ALLOW_REPEAT, INPUT_USE_KEYBOARD))
{
section->name = SECTION_PROG_QUIT;
section->options = SECTION_OPTIONS_QUIT_NORMAL;
}
// Comprueba si se ha pulsado la tecla 1 o 2 para definir los controladores
@@ -272,6 +273,7 @@ void Title::checkInput()
{
case SERVICE_EXIT:
section->name = SECTION_PROG_QUIT;
section->options = SECTION_OPTIONS_QUIT_SHUTDOWN;
break;
case SERVICE_SHADERS: