mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-24 00:40:06 +00:00
Bugfix
This commit is contained in:
parent
d76e801c47
commit
c054d8e7dc
@ -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…
x
Reference in New Issue
Block a user