diff options
Diffstat (limited to 'sms.c')
-rw-r--r-- | sms.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |