From 6a392f2cc9f0b11f049be097f633549f540c6fa3 Mon Sep 17 00:00:00 2001 From: gm-matthew <108370479+gm-matthew@users.noreply.github.com> Date: Fri, 25 Nov 2022 22:44:22 +0000 Subject: [PATCH] Add comment --- Src/Model3/Model3.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Src/Model3/Model3.cpp b/Src/Model3/Model3.cpp index 827ff86..ec34575 100644 --- a/Src/Model3/Model3.cpp +++ b/Src/Model3/Model3.cpp @@ -2070,6 +2070,8 @@ void CModel3::RunMainBoardFrame(void) IRQ.Assert(0x02); // start at 33% of the frame // keep running cycles until IRQ2 is acknowledged + // Ski Champ can hang if we check the MIDI control port too early + // and miss MIDI interrupts pending before the next IRQ2 while (IRQ.ReadIRQEnable() & 0x2 && IRQ.ReadIRQState() & 0x2 && dispCycles > 1000) { ppc_execute(1000);