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:
Quinn Painter 2022-11-11 22:03:17 +00:00 committed by GitHub
parent b069a2acf1
commit 2256b64fcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3751,7 +3751,7 @@ void ARM9IOWrite32(u32 addr, u32 val)
}
// NO$GBA debug register "Char Out"
case 0x04FFFA1C: printf("%" PRIu32, val); return;
case 0x04FFFA1C: printf("%c", val & 0xFF); return;
}
if (addr >= 0x04000000 && addr < 0x04000060)