From 80fc3a0b48b827ba4d86eae821b3af9b048923d6 Mon Sep 17 00:00:00 2001 From: uz Date: Fri, 18 Sep 2009 17:39:23 +0000 Subject: [PATCH] Replaced the condition for the assertion in toggle_videomode by something that is still always false, but will be evaluated by the linker instead of the assembler. The assembler will otherwise emit a warning when just translating the module. git-svn-id: svn://svn.cc65.org/cc65/trunk@4190 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/c128/toggle_videomode.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/c128/toggle_videomode.s b/libsrc/c128/toggle_videomode.s index 0cfdd6644..3ef332326 100644 --- a/libsrc/c128/toggle_videomode.s +++ b/libsrc/c128/toggle_videomode.s @@ -9,7 +9,7 @@ .import SWAPPER, BSOUT ; This function is deprecated -.assert 0, warning, "toggle_videomode() is deprecated, please use videomode() instead!" +.assert * < 0, warning, "toggle_videomode() is deprecated, please use videomode() instead!" -- 2.39.5