From 703ab56587aac0d79ccc0f72f2b8d9ee235e20a5 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Mon, 27 May 2024 23:24:19 +0100 Subject: Use SDCC's new calling convention (this is an ABI breaking change, and will require changes to user-written asm functions or their declarations) --- src/mplayer/akm/akm_ubox.asm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/mplayer/akm') diff --git a/src/mplayer/akm/akm_ubox.asm b/src/mplayer/akm/akm_ubox.asm index cbbf8af..39aef74 100644 --- a/src/mplayer/akm/akm_ubox.asm +++ b/src/mplayer/akm/akm_ubox.asm @@ -7,11 +7,10 @@ PLY_AKM_ROM_Buffer = #c000 include "PlayerAkm.asm" -; IN: L = channel +; IN: a = channel ; OUT: L = 0 if is not on PLY_AKM_IsSoundEffectOnDisarkGenerateExternalLabel: PLY_AKM_IsSoundEffectOn: - ld a,l add a,a add a,a add a,a @@ -22,6 +21,4 @@ PLY_AKM_IsSoundEffectOn: ld a,(hl) inc hl or (hl) - ld l,a ret - -- cgit v1.2.3