From 18f3c23a9fed640dc28ba764c921cf2ecc790494 Mon Sep 17 00:00:00 2001 From: CapitaineSheridan Date: Fri, 31 Mar 2023 10:36:50 +0200 Subject: [PATCH] Work around to prevent I/O error after a while on fishing games with tension --- Src/Model3/Model3.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Src/Model3/Model3.cpp b/Src/Model3/Model3.cpp index 56dca23..7b38e55 100644 --- a/Src/Model3/Model3.cpp +++ b/Src/Model3/Model3.cpp @@ -556,6 +556,10 @@ UINT8 CModel3::ReadInputs(unsigned reg) case 0x18: // swtrilgy and getbass. Remove IO board error on getbass. Not sure, but may be related to device feedback ? data = 0x7f; // Note : when this returned value is wrong, there is a side effect on Ocean Hunter game, a sort of 3d interlaced effect + if (m_game.name == "bassdx" || m_game.name == "getbassdx" || m_game.name == "getbass") // Prevent I/O erreur after a while (related to tension) + { + data = 0x01; + } return data; case 0x2C: // Serial FIFO 1