mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-28 07:50:49 +00:00
Implement unknown SceIOIoCtl command 0x1f30003. It always returns 1. Pangya Fantasy Golf seems to use it, and implementing it makes the game boot, but it still has serious graphical issues.
This commit is contained in:
parent
34562832f6
commit
dd7c66cd49
@ -1530,6 +1530,17 @@ int __IoIoctl(u32 id, u32 cmd, u32 indataPtr, u32 inlen, u32 outdataPtr, u32 out
|
||||
}
|
||||
break;
|
||||
|
||||
//Unknown command, always expects return value of 1 according to JPCSP, used by Pangya Fantasy Golf.
|
||||
case 0x1f30003:
|
||||
INFO_LOG(HLE, "sceIoioCtl: Unknown cmd %08x always returns 1", cmd);
|
||||
if(inlen != 4 || outlen != 1 || Memory::Read_U32(indataPtr) != outlen) {
|
||||
INFO_LOG(HLE, "sceIoIoCtl id: %08x, cmd %08x, indataPtr %08x, inlen %08x, outdataPtr %08x, outlen %08x has invalid parameters", id, cmd, indataPtr, inlen, outdataPtr, outlen);
|
||||
return SCE_KERNEL_ERROR_INVALID_ARGUMENT;
|
||||
}
|
||||
else {
|
||||
return 1;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
char temp[256];
|
||||
|
Loading…
Reference in New Issue
Block a user