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 ((IEQUALIFIER_LALT | IEQUALIFIER_LSHIFT | IEQUALIFIER_CONTROL) == |
659 |
+ |
(qualifier & (IEQUALIFIER_LALT | IEQUALIFIER_LSHIFT | IEQUALIFIER_CONTROL)) |
660 |
+ |
&& 0x5f == code) |
661 |
+ |
{ |
662 |
+ |
SetInterruptFlag(INTFLAG_NMI); |
663 |
+ |
TriggerInterrupt(); |
664 |
+ |
break; |
665 |
+ |
} |
666 |
+ |
|
667 |
|
if (code & IECODE_UP_PREFIX) |
668 |
|
ADBKeyUp(keycode2mac[code & 0x7f]); |
669 |
|
else |