summaryrefslogtreecommitdiff
path: root/sms.c
diff options
context:
space:
mode:
Diffstat (limited to 'sms.c')
-rw-r--r--sms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sms.c b/sms.c
index f94806d..77f984c 100644
--- a/sms.c
+++ b/sms.c
@@ -56,7 +56,7 @@ static uint8_t vdp_read(uint32_t location, void *vcontext)
sms_context *sms = z80->system;
vdp_run_context(sms->vdp, z80->current_cycle);
if (location & 1) {
- sms->vdp->flags &= ~(FLAG2_VINT_PENDING|FLAG2_HINT_PENDING);
+ sms->vdp->flags2 &= ~(FLAG2_VINT_PENDING|FLAG2_HINT_PENDING);
update_interrupts(sms);
return vdp_control_port_read(sms->vdp);
} else {