mirror of
https://github.com/holub/mame
synced 2025-05-28 16:43:04 +03:00
ks0164: dbra goes to 0, not -1 (nw)
This commit is contained in:
parent
0ade8b8230
commit
9e3b0e431a
@ -577,7 +577,7 @@ void ks0164_cpu_device::execute_run()
|
||||
m_r[R_PC] += 2;
|
||||
|
||||
m_r[r] --;
|
||||
if(m_r[r] != 0xffff)
|
||||
if(m_r[r] != 0)
|
||||
m_r[R_PC] = a;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user