mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 11:54:30 +01:00
Check kernel object types when looking up ids.
Some games misuse it, need to return an error.
This commit is contained in:
1 parent
45775d4fc2
commit
933c8abb55
12 files changed
+25
-9
No files matched your search
@@ -55,6 +55,7 @@ struct MsgPipe : public KernelObject
|
||||
const char *GetName() {return nmp.name;}
|
||||
const char *GetTypeName() {return "MsgPipe";}
|
||||
static u32 GetMissingErrorCode() { return SCE_KERNEL_ERROR_UNKNOWN_MPPID; }
|
||||
static int GetStaticIDType() { return SCE_KERNEL_TMID_Mpipe; }
|
||||
int GetIDType() const { return SCE_KERNEL_TMID_Mpipe; }
|
||||
|
||||
MsgPipe() : buffer(NULL) {}
|
||||
|
||||
Reference in new issue
Block a user