This commit is contained in:
twinaphex 2020-10-06 14:21:56 +02:00
parent 3a97f6db79
commit 4c51d82707
2 changed files with 4 additions and 5 deletions

View File

@ -27,7 +27,7 @@ class ArcadeCard
void Power(void);
int StateAction(StateMem *sm, int load, int data_only);
uint8 Read(uint32 A, bool peek = false); // Pass peek as true if you don't want side-effects from this read(IE in a debugger).
uint8 Read(uint32 A, bool peek); // Pass peek as true if you don't want side-effects from this read(IE in a debugger).
void Write(uint32 A, uint8 V);
INLINE void PhysWrite(uint32 A, uint8 V)

View File

@ -104,10 +104,9 @@
if((A & 0x1E00) == 0x1A00)
{
if(arcade_card)
return(arcade_card->Read(A & 0x1FFF));
else
return(0);
if(arcade_card)
return(arcade_card->Read(A & 0x1FFF, false));
return(0);
}
else
{