From 2d34d91c648b99803dba72ce77558c0a59567d5c Mon Sep 17 00:00:00 2001 From: David Guillen Fandos Date: Sun, 15 Aug 2021 20:24:59 +0200 Subject: [PATCH] Fix iwram stack optimization on Kirby Seems that it break it, probably uses a SP pointer to EWRAM or similar --- gba_over.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gba_over.h b/gba_over.h index 9be99fe..9693cc6 100644 --- a/gba_over.h +++ b/gba_over.h @@ -729,7 +729,7 @@ static const ini_t gbaover[] = { 0, /* mirroring_enabled */ 0, /* use_bios */ 0x8000fae, /* idle_loop_target_pc */ - 1, /* iwram_stack_optimize */ + 0, /* iwram_stack_optimize */ 0, /* translation_gate_target_1 */ 0, /* translation_gate_target_2 */ 0, /* translation_gate_target_3 */ @@ -746,7 +746,7 @@ static const ini_t gbaover[] = { 0, /* mirroring_enabled */ 0, /* use_bios */ 0x8000fae, /* idle_loop_target_pc */ - 1, /* iwram_stack_optimize */ + 0, /* iwram_stack_optimize */ 0, /* translation_gate_target_1 */ 0, /* translation_gate_target_2 */ 0, /* translation_gate_target_3 */