mirror of
https://github.com/wiiu-env/FunctionPatcherModule.git
synced 2026-05-06 12:57:47 -05:00
Make sure the jump data heap is using a lock
This commit is contained in:
parent
b27bbc4f3f
commit
b996e1ba8a
|
|
@ -113,7 +113,7 @@ WUMS_INITIALIZE() {
|
|||
}
|
||||
|
||||
memset(gJumpHeapData, 0, JUMP_HEAP_DATA_SIZE);
|
||||
gJumpHeapHandle = MEMCreateExpHeapEx((void *) (gJumpHeapData), JUMP_HEAP_DATA_SIZE, 1);
|
||||
gJumpHeapHandle = MEMCreateExpHeapEx((void *) (gJumpHeapData), JUMP_HEAP_DATA_SIZE, MEM_HEAP_FLAG_USE_LOCK);
|
||||
if (gJumpHeapHandle == nullptr) {
|
||||
DEBUG_FUNCTION_LINE_ERR("Failed to create heap for jump data");
|
||||
OSFatal("FunctionPatcherModule: Failed to create heap for jump data");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user