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/ubox/ubox_get_vsync_freq.z80 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ubox/ubox_get_vsync_freq.z80') diff --git a/src/ubox/ubox_get_vsync_freq.z80 b/src/ubox/ubox_get_vsync_freq.z80 index 681fe67..4a7f841 100644 --- a/src/ubox/ubox_get_vsync_freq.z80 +++ b/src/ubox/ubox_get_vsync_freq.z80 @@ -3,7 +3,6 @@ _ubox_get_vsync_freq:: ld a, (#0x002b) and #128 - ld l, a ret z - ld l, #1 + ld a, #1 ret -- cgit v1.2.3