CPU: Fix puts() hook incorrect arg
This commit is contained in:
parent
6ffa5bffab
commit
365e129792
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue