Skip to content

Commit

Permalink
Fix Alleyway; read the proper default value from the serial port
Browse files Browse the repository at this point in the history
  • Loading branch information
raptorofaxys committed Jan 9, 2019
1 parent 2b921bd commit 836bb74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GBEmuNative/GameLinkPort.h
Expand Up @@ -64,8 +64,8 @@ class GameLinkPort : public IMemoryBusDevice
//printf("Serial output byte: %c (0x%02lX)\n", m_SB, m_SB);
printf("%c", SB);
SC &= ~Bit7;
// Read zeroes
SB = 0;
// Read 0xFF, which is the default value in actual hardware
SB = 0xFF;

m_pendingOutboundTransfer = true;
}
Expand Down

0 comments on commit 836bb74

Please sign in to comment.