mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-14 14:55:12 +01:00
[Core/CD] fixed byte access address range to Font Data registers
This commit is contained in:
parent
7fe8d95ca1
commit
7d4ae7da0c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user