mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-29 09:05:41 +00:00
Work around to prevent I/O error after a while on fishing games with tension
This commit is contained in:
parent
813edb8218
commit
18f3c23a9f
|
@ -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 ?
|
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
|
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;
|
return data;
|
||||||
|
|
||||||
case 0x2C: // Serial FIFO 1
|
case 0x2C: // Serial FIFO 1
|
||||||
|
|
Loading…
Reference in a new issue