ks0164: dbra goes to 0, not -1 (nw)

This commit is contained in:
Olivier Galibert 2020-03-25 18:10:52 +01:00
parent 0ade8b8230
commit 9e3b0e431a

View File

@ -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;
}