commit 2cf6da4a553186cbad04af095360b8bb0b1b8f95
parent 2dc3680bcf7f2ec16b1d8819d3099bc821fcf8b8
Author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
Date: Thu, 16 Dec 2021 01:05:59 +0100
emu: use "Back" on android to restart the rom for now
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/uxnemu.c b/src/uxnemu.c
@@ -488,7 +488,8 @@ doctrl(Uxn *u, SDL_Event *event, int z)
case SDLK_F1: if(z) set_zoom(zoom > 2 ? 1 : zoom + 1); break;
case SDLK_F2: if(z) devsystem->dat[0xe] = !devsystem->dat[0xe]; break;
case SDLK_F3: if(z) capture_screen(); break;
- case SDLK_F4: if(z) restart(u); break;
+ case SDLK_AC_BACK:
+ case SDLK_F4: if(z) restart(u); break;
}
/* clang-format on */
if(z) {