Skip to content

Commit

Permalink
SNES: Fixed typo in SRTC register
Browse files Browse the repository at this point in the history
  • Loading branch information
ducalex committed Dec 24, 2024
1 parent c97ec0b commit de5e8ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retro-core/components/snes9x/src/ppu.c
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ uint8_t S9xGetPPU(uint16_t Address)
}
else
{
if (Settings.SRTC && Address == 2800)
if (Settings.SRTC && Address == 0x2800)
return S9xGetSRTC(Address);

if (Address <= 0x2fff || Address >= 0x3300)
Expand Down

0 comments on commit de5e8ae

Please sign in to comment.