From de0422de20eeeab6bec7dc6fb393d4a31f83e648 Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Tue, 15 Oct 2024 15:17:58 -0700 Subject: [PATCH] Fix islooped calculation --- backends/playback/zsm/zsm_backend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/playback/zsm/zsm_backend.cpp b/backends/playback/zsm/zsm_backend.cpp index a0ac843..c7e10bd 100644 --- a/backends/playback/zsm/zsm_backend.cpp +++ b/backends/playback/zsm/zsm_backend.cpp @@ -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];