mirror of https://github.com/mgba-emu/mgba.git
PSP2: Fix small memory error
This commit is contained in:
parent
6833c88284
commit
e53cc7060c
|
@ -46,7 +46,7 @@ void mappedMemoryFree(void* memory, size_t size) {
|
|||
}
|
||||
if (ptr == memory) {
|
||||
sceKernelFreeMemBlock(uid);
|
||||
SceUIDListUnshift(&uids, i, 1);
|
||||
SceUIDListShift(&uids, i, 1);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue