mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +01:00
Move SysMemForKernel to sceKernelMemory
As SysMemForUser in there
This commit is contained in:
1 parent
8d8ba3e963
commit
a8c2c02b82
3 files changed
+37
No files matched your search
@@ -2300,3 +2300,33 @@ void Register_SysMemForKernel() {
|
||||
void Register_SysMemUserForUser() {
|
||||
RegisterModule("SysMemUserForUser", ARRAY_SIZE(SysMemUserForUser), SysMemUserForUser);
|
||||
}
|
||||
|
||||
|
||||
static int sceKernelCreateHeap(int partitionId, int size, int flags, const char *Name)
|
||||
{
|
||||
return hleLogError(SCEKERNEL, 0, "");
|
||||
}
|
||||
|
||||
|
||||
static int sceKernelAllocHeapMemory(int heapId, int size)
|
||||
{
|
||||
return hleLogError(SCEKERNEL, 0, "");
|
||||
}
|
||||
|
||||
static int sceKernelDeleteHeap(int heapId)
|
||||
{
|
||||
return hleLogError(SCEKERNEL, 0, "");
|
||||
}
|
||||
|
||||
const HLEFunction SysMemForKernel[] =
|
||||
{
|
||||
{ 0X636C953B, &WrapI_II<sceKernelAllocHeapMemory>, "sceKernelAllocHeapMemory", 'I', "ii" },
|
||||
{ 0XC9805775, &WrapI_I<sceKernelDeleteHeap>, "sceKernelDeleteHeap", 'I', "i" },
|
||||
{ 0X1C1FBFE7, &WrapI_IIIC<sceKernelCreateHeap>, "sceKernelCreateHeap", 'I', "iiis" },
|
||||
};
|
||||
|
||||
void Register_SysMemForKernel()
|
||||
{
|
||||
RegisterModule("SysMemForKernel", ARRAY_SIZE(SysMemForKernel), SysMemForKernel);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user