Fix islooped calculation
This commit is contained in:
parent
76a6b17e47
commit
de0422de20
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ void ZsmBackend::tick(bool step) {
|
||||||
loop_rem <<= 8;
|
loop_rem <<= 8;
|
||||||
loop_rem |= bytes[7];
|
loop_rem |= bytes[7];
|
||||||
loop = loop_rem;
|
loop = loop_rem;
|
||||||
islooped = bytes[6];
|
islooped = bytes[6] & 0x80;
|
||||||
remain = bytes[5];
|
remain = bytes[5];
|
||||||
remain <<= 8;
|
remain <<= 8;
|
||||||
remain |= bytes[4];
|
remain |= bytes[4];
|
||||||
|
|
Loading…
Reference in a new issue