From 71bfc5a910631077efa332a44ad9c00b8f4ee087 Mon Sep 17 00:00:00 2001 From: cuz Date: Sat, 22 Jun 2002 22:01:14 +0000 Subject: [PATCH] Return bg color if coords out of range git-svn-id: svn://svn.cc65.org/cc65/trunk@1326 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/tgi/tgi_getpixel.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5