mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Bugfix
This commit is contained in:
parent
c054d8e7dc
commit
72dcbefff4
3 changed files with 4 additions and 4 deletions
|
@ -559,7 +559,7 @@ s32 _sys_printf(vm::ptr<const char> fmt) // va_args...
|
|||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 sys_process_get_paramsfo(vm::ptr<u8[0x40]> buffer)
|
||||
s32 sys_process_get_paramsfo(vm::ptr<char> buffer)
|
||||
{
|
||||
sysPrxForUser.Warning("sys_process_get_paramsfo(buffer=0x%x)", buffer);
|
||||
|
||||
|
|
|
@ -288,7 +288,7 @@ s32 sys_process_is_spu_lock_line_reservation_address(u32 addr, u64 flags)
|
|||
return process_is_spu_lock_line_reservation_address(addr, flags);
|
||||
}
|
||||
|
||||
s32 _sys_process_get_paramsfo(vm::ptr<u8[0x40]> buffer)
|
||||
s32 _sys_process_get_paramsfo(vm::ptr<char> buffer)
|
||||
{
|
||||
sys_process.Warning("_sys_process_get_paramsfo(buffer=0x%x)", buffer);
|
||||
|
||||
|
@ -298,7 +298,7 @@ s32 _sys_process_get_paramsfo(vm::ptr<u8[0x40]> buffer)
|
|||
}
|
||||
|
||||
memset(buffer.get_ptr(), 0, 0x40);
|
||||
memcpy(buffer.get_ptr(), Emu.GetTitleID().c_str(), Emu.GetTitleID().length());
|
||||
memcpy(buffer.get_ptr() + 1, Emu.GetTitleID().c_str(), std::min<size_t>(Emu.GetTitleID().length(), 9));
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ s32 sys_process_getpid();
|
|||
s32 sys_process_getppid();
|
||||
s32 sys_process_get_number_of_object(u32 object, vm::ptr<u32> nump);
|
||||
s32 sys_process_get_id(u32 object, vm::ptr<u32> buffer, u32 size, vm::ptr<u32> set_size);
|
||||
s32 _sys_process_get_paramsfo(vm::ptr<u8[0x40]> buffer);
|
||||
s32 _sys_process_get_paramsfo(vm::ptr<char> buffer);
|
||||
s32 sys_process_get_sdk_version(u32 pid, vm::ptr<s32> version);
|
||||
s32 sys_process_get_status(u64 unk);
|
||||
s32 sys_process_is_spu_lock_line_reservation_address(u32 addr, u64 flags);
|
||||
|
|
Loading…
Add table
Reference in a new issue