mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 00:03:37 +01:00
Wrap some SysMemForKernel
Used in "Hatsune Miku Project Diva Extend" chinese patched version Prepare real support the chinese patched game.
This commit is contained in:
1 parent
9ad97d070a
commit
8a905bbb9d
3 files changed
+10
-3
No files matched your search
@@ -969,7 +969,7 @@ static u32 sceKernelTotalFreeMemSize()
|
||||
return retVal;
|
||||
}
|
||||
|
||||
static int sceKernelAllocPartitionMemory(int partition, const char *name, int type, u32 size, u32 addr)
|
||||
int sceKernelAllocPartitionMemory(int partition, const char *name, int type, u32 size, u32 addr)
|
||||
{
|
||||
if (name == NULL)
|
||||
{
|
||||
@@ -1019,14 +1019,14 @@ static int sceKernelAllocPartitionMemory(int partition, const char *name, int ty
|
||||
return uid;
|
||||
}
|
||||
|
||||
static int sceKernelFreePartitionMemory(SceUID id)
|
||||
int sceKernelFreePartitionMemory(SceUID id)
|
||||
{
|
||||
DEBUG_LOG(SCEKERNEL,"sceKernelFreePartitionMemory(%d)",id);
|
||||
|
||||
return kernelObjects.Destroy<PartitionMemoryBlock>(id);
|
||||
}
|
||||
|
||||
static u32 sceKernelGetBlockHeadAddr(SceUID id)
|
||||
u32 sceKernelGetBlockHeadAddr(SceUID id)
|
||||
{
|
||||
u32 error;
|
||||
PartitionMemoryBlock *block = kernelObjects.Get<PartitionMemoryBlock>(id, error);
|
||||
|
||||
Reference in new issue
Block a user