CPU: Fix puts() hook incorrect arg

This commit is contained in:
Stenzek 2024-11-11 16:27:11 +10:00
parent 6ffa5bffab
commit 365e129792
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -783,7 +783,7 @@ void CPU::HandlePutsSyscall()
{ {
const auto& regs = g_state.regs; const auto& regs = g_state.regs;
u32 addr = regs.a1; u32 addr = regs.a0;
for (u32 i = 0; i < 1024; i++) for (u32 i = 0; i < 1024; i++)
{ {
u8 value; u8 value;