Skip to content

Commit

Permalink
CPU: Fix puts() hook incorrect arg
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Nov 11, 2024
1 parent 6ffa5bf commit 365e129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/cpu_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 365e129

Please sign in to comment.