From 8403ca35bf9d7f6acf70d3b81c2adb3aba672838 Mon Sep 17 00:00:00 2001 From: gameblabla Date: Wed, 24 Apr 2019 19:20:39 +0200 Subject: [PATCH] HLE fixes by Nebuleon. https://github.com/Nebuleon/ReGBA/commit/34205726fca3197039a885dbe069780cb0f914b9 https://github.com/Nebuleon/ReGBA/commit/3d3722819b72a293418245fa5650f9e3b7ae6d8a https://github.com/Nebuleon/ReGBA/commit/3760e3bd95b365fe3ca35b17b8e550ce0e37868d --- arm/arm_emit.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arm/arm_emit.h b/arm/arm_emit.h index 587ad28f..d39bd10a 100644 --- a/arm/arm_emit.h +++ b/arm/arm_emit.h @@ -1878,7 +1878,7 @@ u32 execute_store_cpsr_body(u32 _cpsr, u32 store_mask, u32 address) /* We're in ARM mode now */ \ generate_branch(arm) \ -u8 swi_hle_handle[256] = +u8 swi_hle_handle[0x2B] = { 0x0, // SWI 0: SoftReset 0x0, // SWI 1: RegisterRAMReset @@ -1893,7 +1893,7 @@ u8 swi_hle_handle[256] = 0x0, // SWI A: ArcTan2 0x0, // SWI B: CpuSet 0x0, // SWI C: CpuFastSet - 0x0, // SWI D: GetBIOSCheckSum + 0x1, // SWI D: GetBIOSCheckSum 0x0, // SWI E: BgAffineSet 0x0, // SWI F: ObjAffineSet 0x0, // SWI 10: BitUnpack