33 |
|
#include <proto/cybergraphics.h> |
34 |
|
|
35 |
|
#include "sysdeps.h" |
36 |
+ |
#include "cpu_emulation.h" |
37 |
|
#include "main.h" |
38 |
|
#include "adb.h" |
39 |
|
#include "prefs.h" |
285 |
|
break; |
286 |
|
case 15: |
287 |
|
case 16: |
288 |
< |
if (format != PIXFMT_RGB16) { |
288 |
> |
// !!! PIXFMT_RGB15 is correct !!! |
289 |
> |
if (format != PIXFMT_RGB15) { |
290 |
|
ErrorAlert(GetString(STR_WRONG_SCREEN_FORMAT_ERR)); |
291 |
|
return false; |
292 |
|
} |
655 |
|
case IDCMP_RAWKEY: |
656 |
|
if (qualifier & IEQUALIFIER_REPEAT) // Keyboard repeat is done by MacOS |
657 |
|
break; |
658 |
+ |
if ((qualifier & (IEQUALIFIER_LALT | IEQUALIFIER_LSHIFT | IEQUALIFIER_CONTROL)) == |
659 |
+ |
(IEQUALIFIER_LALT | IEQUALIFIER_LSHIFT | IEQUALIFIER_CONTROL)) |
660 |
+ |
&& code == 0x5f) { |
661 |
+ |
SetInterruptFlag(INTFLAG_NMI); |
662 |
+ |
TriggerInterrupt(); |
663 |
+ |
break; |
664 |
+ |
} |
665 |
+ |
|
666 |
|
if (code & IECODE_UP_PREFIX) |
667 |
|
ADBKeyUp(keycode2mac[code & 0x7f]); |
668 |
|
else |