Correct the Tlspl TMID value.

This commit is contained in:
Unknown W. Brackets 2014-08-02 11:26:45 -07:00
parent 78ddffee2c
commit 774589aa4f
2 changed files with 4 additions and 2 deletions

View File

@ -620,6 +620,7 @@ KernelObject *KernelObjectPool::CreateByIDType(int type)
case SCE_KERNEL_TMID_VTimer:
return __KernelVTimerObject();
case SCE_KERNEL_TMID_Tlspl:
case SCE_KERNEL_TMID_Tlspl_v0:
return __KernelTlsplObject();
case PPSSPP_KERNEL_TMID_File:
return __KernelFileNodeObject();

View File

@ -327,12 +327,13 @@ enum TMIDPurpose
SCE_KERNEL_TMID_VTimer = 11,
SCE_KERNEL_TMID_Mutex = 12,
SCE_KERNEL_TMID_LwMutex = 13,
SCE_KERNEL_TMID_Tlspl = 14,
SCE_KERNEL_TMID_SleepThread = 64,
SCE_KERNEL_TMID_DelayThread = 65,
SCE_KERNEL_TMID_SuspendThread = 66,
SCE_KERNEL_TMID_DormantThread = 67,
// No idea what the correct value is here or how to find out.
SCE_KERNEL_TMID_Tlspl = 0x1001,
// This is kept for old savestates. Not the real value.
SCE_KERNEL_TMID_Tlspl_v0 = 0x1001,
// Not official, but need ids for save states.
PPSSPP_KERNEL_TMID_Module = 0x100001,