mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-18 12:30:33 +00:00
Windows: ignore Alt+F4
This commit is contained in:
parent
62deb590a6
commit
7131e8205d
@ -2287,6 +2287,9 @@ static void handle_events(void)
|
|||||||
|
|
||||||
// Window "close" widget clicked
|
// Window "close" widget clicked
|
||||||
case SDL_QUIT:
|
case SDL_QUIT:
|
||||||
|
#ifdef WIN32
|
||||||
|
if (SDL_GetModState() & (KMOD_LALT | KMOD_RALT)) break;
|
||||||
|
#endif
|
||||||
ADBKeyDown(0x7f); // Power key
|
ADBKeyDown(0x7f); // Power key
|
||||||
ADBKeyUp(0x7f);
|
ADBKeyUp(0x7f);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user