summaryrefslogtreecommitdiff
path: root/macros/asm_macros.asm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/asm_macros.asm')
-rwxr-xr-xmacros/asm_macros.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/macros/asm_macros.asm b/macros/asm_macros.asm
index d3f00b0c..7012d7e1 100755
--- a/macros/asm_macros.asm
+++ b/macros/asm_macros.asm
@@ -7,12 +7,10 @@ homecall: MACRO
ld a, [H_LOADEDROMBANK]
push af
ld a, BANK(\1)
- ld [H_LOADEDROMBANK], a
- ld [MBC1RomBank], a
+ call BankswitchCommon
call \1
pop af
- ld [H_LOADEDROMBANK], a
- ld [MBC1RomBank], a
+ call BankswitchCommon
ENDM
farcall EQUS "callba"