mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-23 04:30:10 +00:00
fixed compilation problems
This commit is contained in:
parent
10f4035c6e
commit
1158d091da
@ -125,6 +125,7 @@ extern "C" void ExceptionHandlerAsm(void);
|
||||
extern "C" void IllInstrHandler(trap_regs *regs);
|
||||
extern "C" void PrivViolHandler(trap_regs *regs);
|
||||
extern "C" void quit_emulator(void);
|
||||
extern "C" void AsmTriggerNMI(void);
|
||||
uint16 EmulatedSR; // Emulated SR (supervisor bit and interrupt mask)
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include <libraries/asl.h>
|
||||
#include <libraries/gtlayout.h>
|
||||
#include <libraries/Picasso96.h>
|
||||
#include <cybergraphx/cybergraphics.h>
|
||||
#include <cybergraphics/cybergraphics.h>
|
||||
#include <graphics/displayinfo.h>
|
||||
#include <devices/ahi.h>
|
||||
#include <proto/exec.h>
|
||||
|
@ -655,9 +655,8 @@ static __saveds void periodic_func(void)
|
||||
case IDCMP_RAWKEY:
|
||||
if (qualifier & IEQUALIFIER_REPEAT) // Keyboard repeat is done by MacOS
|
||||
break;
|
||||
if ((qualifier & (IEQUALIFIER_LALT | IEQUALIFIER_LSHIFT | IEQUALIFIER_CONTROL)) ==
|
||||
(IEQUALIFIER_LALT | IEQUALIFIER_LSHIFT | IEQUALIFIER_CONTROL))
|
||||
&& code == 0x5f) {
|
||||
if ((qualifier & (IEQUALIFIER_LALT | IEQUALIFIER_LSHIFT | IEQUALIFIER_CONTROL)) ==
|
||||
(IEQUALIFIER_LALT | IEQUALIFIER_LSHIFT | IEQUALIFIER_CONTROL) && code == 0x5f) {
|
||||
SetInterruptFlag(INTFLAG_NMI);
|
||||
TriggerInterrupt();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user