From 0ca972954e2634755a00213f3ee496a2b9bb3c25 Mon Sep 17 00:00:00 2001 From: tomcw Date: Sat, 29 May 2021 21:53:18 +0100 Subject: [PATCH] MB: fix for SSI263/SC01 in debugger's 'gg' mode (fixes #958) --- source/SSI263.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/SSI263.cpp b/source/SSI263.cpp index 8060ee43..81aad177 100644 --- a/source/SSI263.cpp +++ b/source/SSI263.cpp @@ -394,9 +394,14 @@ void SSI263::Update(void) #endif if (m_phonemeAccurateLengthRemaining) + { m_phonemeCompleteByFullSpeed = true; // Let UpdateAccurateLength() call UpdateIRQ() + m_lastUpdateCycle = MB_GetLastCumulativeCycles(); // Set m_lastUpdateCycle, otherwise UpdateAccurateLength() just early-returns! + } else + { UpdateIRQ(); + } } m_updateWasFullSpeed = true;