Skip to content

Commit 327a588

Browse files
committed
SNES: Set mallocAlwaysInternal to 64KB
This is just an easy change to use the internal heap freed from the split with retro-core. Granular control of the internal allocations based on fcipaq's changes will obviously be the better long-term solution.
1 parent 845c6ea commit 327a588

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

snes9x/main/main_snes.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ void app_main(void)
346346
.sampleRate = AUDIO_SAMPLE_RATE,
347347
.storageRequired = true,
348348
.romRequired = true,
349+
.mallocAlwaysInternal = 0x10000,
349350
.handlers.loadState = &load_state_handler,
350351
.handlers.saveState = &save_state_handler,
351352
.handlers.reset = &reset_handler,

0 commit comments

Comments
 (0)