From: uz Date: Fri, 18 Sep 2009 17:39:23 +0000 (+0000) Subject: Replaced the condition for the assertion in toggle_videomode by something that X-Git-Tag: V2.13.0rc1~66 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=80fc3a0b48b827ba4d86eae821b3af9b048923d6;p=cc65 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 --- 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!"