mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
Bugfix
This commit is contained in:
parent
d76e801c47
commit
c054d8e7dc
1 changed files with 6 additions and 1 deletions
|
@ -292,10 +292,15 @@ s32 _sys_process_get_paramsfo(vm::ptr<u8[0x40]> buffer)
|
||||||
{
|
{
|
||||||
sys_process.Warning("_sys_process_get_paramsfo(buffer=0x%x)", buffer);
|
sys_process.Warning("_sys_process_get_paramsfo(buffer=0x%x)", buffer);
|
||||||
|
|
||||||
|
if (!Emu.GetTitleID().length())
|
||||||
|
{
|
||||||
|
return CELL_ENOENT;
|
||||||
|
}
|
||||||
|
|
||||||
memset(buffer.get_ptr(), 0, 0x40);
|
memset(buffer.get_ptr(), 0, 0x40);
|
||||||
memcpy(buffer.get_ptr(), Emu.GetTitleID().c_str(), Emu.GetTitleID().length());
|
memcpy(buffer.get_ptr(), Emu.GetTitleID().c_str(), Emu.GetTitleID().length());
|
||||||
|
|
||||||
return CELL_ENOENT;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
s32 process_get_sdk_version(u32 pid, s32& ver)
|
s32 process_get_sdk_version(u32 pid, s32& ver)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue