[Core/CD] fixed byte access address range to Font Data registers

This commit is contained in:
ekeeke 2022-02-26 10:26:12 +01:00
parent 7fe8d95ca1
commit 7d4ae7da0c

View File

@ -548,7 +548,7 @@ static unsigned int scd_read_byte(unsigned int address)
} }
/* Font data */ /* Font data */
if ((address >= 0x50) && (address <= 0x56)) if ((address >= 0x50) && (address <= 0x57))
{ {
/* shifted 4-bit input (xxxx00) */ /* shifted 4-bit input (xxxx00) */
uint8 bits = (scd.regs[0x4e>>1].w >> (((address & 6) ^ 6) << 1)) << 2; uint8 bits = (scd.regs[0x4e>>1].w >> (((address & 6) ^ 6) << 1)) << 2;