mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Change to info log
As this commit is work (tested on Tales of Phantasia with Chinese patch)
This commit is contained in:
parent
b12fbb9d3e
commit
3604a92bee
1 changed files with 3 additions and 3 deletions
|
@ -2369,7 +2369,7 @@ static int sceKernelCreateHeap(int partitionId, int size, int flags, const char
|
||||||
heapInformationList[uid] = heap;
|
heapInformationList[uid] = heap;
|
||||||
|
|
||||||
|
|
||||||
return hleLogError(SCEKERNEL, uid, "");
|
return hleLogSuccessInfoX(SCEKERNEL, uid, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -2384,7 +2384,7 @@ static int sceKernelAllocHeapMemory(int heapId, int size)
|
||||||
// There's 8 bytes at the end of every block, reserved.
|
// There's 8 bytes at the end of every block, reserved.
|
||||||
u32 memSize = HEAP_BLOCK_HEADER_SIZE + size;
|
u32 memSize = HEAP_BLOCK_HEADER_SIZE + size;
|
||||||
u32 addr = heap->alloc.Alloc(memSize, true);
|
u32 addr = heap->alloc.Alloc(memSize, true);
|
||||||
return hleLogError(SCEKERNEL, addr, "");
|
return hleLogSuccessInfoX(SCEKERNEL, addr, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
static int sceKernelDeleteHeap(int heapId)
|
static int sceKernelDeleteHeap(int heapId)
|
||||||
|
@ -2397,7 +2397,7 @@ static int sceKernelDeleteHeap(int heapId)
|
||||||
userMemory.Free(heap->address);
|
userMemory.Free(heap->address);
|
||||||
kernelObjects.Destroy<FPL>(heap->uid);
|
kernelObjects.Destroy<FPL>(heap->uid);
|
||||||
heapInformationList.erase(heapId);
|
heapInformationList.erase(heapId);
|
||||||
return hleLogError(SCEKERNEL, 0, "");
|
return hleLogSuccessInfoX(SCEKERNEL, 0, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
const HLEFunction SysMemForKernel[] =
|
const HLEFunction SysMemForKernel[] =
|
||||||
|
|
Loading…
Add table
Reference in a new issue