mirror of https://github.com/mgba-emu/mgba.git
Vita: Fix memory leaking
This commit is contained in:
parent
e37167479e
commit
34b9055271
|
@ -18,6 +18,7 @@ static bool listInit = false;
|
||||||
void* anonymousMemoryMap(size_t size) {
|
void* anonymousMemoryMap(size_t size) {
|
||||||
if (!listInit) {
|
if (!listInit) {
|
||||||
SceUIDListInit(&uids, 8);
|
SceUIDListInit(&uids, 8);
|
||||||
|
listInit = true;
|
||||||
}
|
}
|
||||||
if (size & 0xFFF) {
|
if (size & 0xFFF) {
|
||||||
// Align to 4kB pages
|
// Align to 4kB pages
|
||||||
|
|
Loading…
Reference in New Issue