summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2025-07-08 10:51:55 +0200
committer Olivier Galibert <galibert@pobox.com>2025-07-08 10:51:55 +0200
commit456679e400fcaca16d4235cbbda3c8443e5190aa (patch)
tree1f44e2846737e22ecb9ba31cbdab691b6678cf1a
parente497d8f799dca15cf24ad2f0d334c9909de968c3 (diff)
cps1: correct the cpu space back to fully take into account the impact of vpa on the timings
-rw-r--r--src/mame/capcom/cps1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/capcom/cps1.cpp b/src/mame/capcom/cps1.cpp
index 56c26fd3a4a..8a123d05939 100644
--- a/src/mame/capcom/cps1.cpp
+++ b/src/mame/capcom/cps1.cpp
@@ -413,7 +413,7 @@ uint16_t cps_state::irqack_r(offs_t offset)
void cps_state::cpu_space_map(address_map &map)
{
- map(0xfffff2, 0xffffff).r(FUNC(cps_state::irqack_r));
+ map(0xfffff2, 0xffffff).before_time(m_maincpu, FUNC(m68000_device::vpa_sync)).after_delay(m_maincpu, FUNC(m68000_device::vpa_after)).r(FUNC(cps_state::irqack_r));
}