diff --git a/src/core/cpu_core.cpp b/src/core/cpu_core.cpp index fa63fc6b6..a01b50566 100644 --- a/src/core/cpu_core.cpp +++ b/src/core/cpu_core.cpp @@ -783,7 +783,7 @@ void CPU::HandlePutsSyscall() { const auto& regs = g_state.regs; - u32 addr = regs.a1; + u32 addr = regs.a0; for (u32 i = 0; i < 1024; i++) { u8 value;