From: cuz Date: Sat, 22 Jun 2002 22:01:14 +0000 (+0000) Subject: Return bg color if coords out of range X-Git-Tag: V2.12.0~2298 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=71bfc5a910631077efa332a44ad9c00b8f4ee087;p=cc65 Return bg color if coords out of range git-svn-id: svn://svn.cc65.org/cc65/trunk@1326 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/tgi/tgi_getpixel.s b/libsrc/tgi/tgi_getpixel.s index b70516732..1806d9c16 100644 --- a/libsrc/tgi/tgi_getpixel.s +++ b/libsrc/tgi/tgi_getpixel.s @@ -6,13 +6,13 @@ .include "tgi-kernel.inc" - + + .import return0 .export _tgi_getpixel _tgi_getpixel: jsr tgi_getset ; Pop args, check range bcs @L9 jmp tgi_getpixel ; Call the driver -@L9: rts - +@L9: jmp return0 ; Assume bg color