Fix islooped calculation

This commit is contained in:
Zachary Hall 2024-10-15 15:17:58 -07:00
parent 76a6b17e47
commit de0422de20

View file

@ -180,7 +180,7 @@ void ZsmBackend::tick(bool step) {
loop_rem <<= 8;
loop_rem |= bytes[7];
loop = loop_rem;
islooped = bytes[6];
islooped = bytes[6] & 0x80;
remain = bytes[5];
remain <<= 8;
remain |= bytes[4];