summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/vt50/vt50.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/vt50/vt50.cpp')
-rw-r--r--src/devices/cpu/vt50/vt50.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/cpu/vt50/vt50.cpp b/src/devices/cpu/vt50/vt50.cpp
index c07d9b44014..d2ed58dde79 100644
--- a/src/devices/cpu/vt50/vt50.cpp
+++ b/src/devices/cpu/vt50/vt50.cpp
@@ -568,7 +568,10 @@ void vt5x_cpu_device::execute_tj(u8 dest)
if (m_load_pc)
m_pc = u16(m_rom_page) << 8 | dest;
else
+ {
+ // Hardware bug: the ROM page counter will not increment on the second byte of a jump not taken.
m_pc = (m_pc + 1) & 03777;
+ }
}
void vt5x_cpu_device::clock_video_counters()