emscripten: fix reset quan fas exit. Eliminades les opcions d'eixida

This commit is contained in:
2026-04-13 17:57:54 +02:00
parent 9d70138855
commit a035fecb04
7 changed files with 30 additions and 12 deletions

View File

@@ -150,8 +150,8 @@ void Director::initInput() {
input->bindGameControllerButton(input_fire_right, SDL_GAMEPAD_BUTTON_EAST);
// Mando - Otros
// SOUTH queda sin asignar para evitar salidas accidentales: pausa/cancel se hace con START/BACK.
input->bindGameControllerButton(input_accept, SDL_GAMEPAD_BUTTON_EAST);
input->bindGameControllerButton(input_cancel, SDL_GAMEPAD_BUTTON_SOUTH);
#ifdef GAME_CONSOLE
input->bindGameControllerButton(input_pause, SDL_GAMEPAD_BUTTON_BACK);
input->bindGameControllerButton(input_exit, SDL_GAMEPAD_BUTTON_START);