summaryrefslogtreecommitdiff
path: root/vdp.cpp
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2023-05-06 23:49:12 +0300
committerOxore <oxore@protonmail.com>2023-05-06 23:49:12 +0300
commitb56bb29d9ba8d0d4dfaf6371e81f7cf73f076a3b (patch)
tree3e7b658c20fc33ee3d7f6aebb309371677993be6 /vdp.cpp
parentb834fe204108c549e576ffa7dfd2684225bbb7f7 (diff)
Fix interrupt acknowledging
Diffstat (limited to 'vdp.cpp')
-rw-r--r--vdp.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/vdp.cpp b/vdp.cpp
index 765855c..7b27a79 100644
--- a/vdp.cpp
+++ b/vdp.cpp
@@ -259,8 +259,7 @@ bool VDP::Scanline()
if (_lines_counter >= lines_per_screen) {
_lines_counter = 0;
if (MODESET2_IE0_GET(mode_set_2)) {
- // TODO somehow this acknowledgment messes up the `hello word` example
- //m68k_set_irq(6);
+ m68k_set_irq(M68K_IRQ_6);
_status.vblank = true;
return true;
}