summaryrefslogtreecommitdiff
path: root/emulator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'emulator.cpp')
-rw-r--r--emulator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/emulator.cpp b/emulator.cpp
index 7be1c8a..262f160 100644
--- a/emulator.cpp
+++ b/emulator.cpp
@@ -8,6 +8,7 @@
#include "gdbremote_parser.hpp"
#include "utils.hpp"
#include "musashi-m68k/m68k.h"
+#include "musashi-m68k/m68kcpu.h"
#include <arpa/inet.h>
#include <algorithm>
@@ -335,9 +336,8 @@ void m68k_reset_callback(void)
int m68k_irq_ack(int level)
{
(void) level;
- // TODO
- printf("IRQ level %d acknowledged\n", level);
- return level;
+ CPU_INT_LEVEL = 0;
+ return M68K_INT_ACK_AUTOVECTOR;
}
static void make_hex(char* buff, unsigned int pc, unsigned int length)