From d3955062e40c68bec55498d277e05e8178f7cd73 Mon Sep 17 00:00:00 2001 From: SpinDizzy Date: Wed, 26 Aug 2020 16:05:23 +0000 Subject: [PATCH] Correct the returned value from previous getbass patch There was a strange side effect on Ocean Hunter game --- Src/Model3/Model3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/Model3/Model3.cpp b/Src/Model3/Model3.cpp index 5fd553e..d0d2af8 100644 --- a/Src/Model3/Model3.cpp +++ b/Src/Model3/Model3.cpp @@ -524,8 +524,8 @@ UINT8 CModel3::ReadInputs(unsigned reg) return data; - case 0x18: // swtrilgy and getbass. Remove IO board error on getbass. Not sure, but may be related to device feedback ? - data = 0x01; + 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 return data; case 0x2C: // Serial FIFO 1