mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
Fix nocash Char Out debug register (#1500)
To match no$gba, this register should output any ASCII character written to it, not print the number as it currently does.
This commit is contained in:
@ -3751,7 +3751,7 @@ void ARM9IOWrite32(u32 addr, u32 val)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// NO$GBA debug register "Char Out"
|
// NO$GBA debug register "Char Out"
|
||||||
case 0x04FFFA1C: printf("%" PRIu32, val); return;
|
case 0x04FFFA1C: printf("%c", val & 0xFF); return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (addr >= 0x04000000 && addr < 0x04000060)
|
if (addr >= 0x04000000 && addr < 0x04000060)
|
||||||
|
Reference in New Issue
Block a user