]> git.sur5r.net Git - cc65/commitdiff
Replaced the condition for the assertion in toggle_videomode by something that
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 18 Sep 2009 17:39:23 +0000 (17:39 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 18 Sep 2009 17:39:23 +0000 (17:39 +0000)
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

index 0cfdd6644b3e4458ad4f829aff56ffde75ec1d23..3ef33232663e408dac91add674778efe34b75375 100644 (file)
@@ -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!"