use F7 or F10 to quit (like saturnng and x48ng)

This commit is contained in:
Gwenhael Le Moine 2024-10-21 22:04:05 +02:00
parent 8408b3b5d7
commit 730271d6a7
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -2556,6 +2556,12 @@ x49gp_ui_key_event(GtkWidget *widget, GdkEventKey *event, gpointer user_data)
case GDK_KEY_ssharp: index = 30; break;
case GDK_KEY_numbersign: index = 35; break;
case GDK_KEY_F7:
case GDK_KEY_F10:
x49gp->arm_exit = 1;
cpu_exit(x49gp->env);
return FALSE;
case GDK_KEY_F12:
switch (event->type) {
case GDK_KEY_PRESS: