From: cuz Date: Thu, 25 Nov 2004 13:18:20 +0000 (+0000) Subject: Fixed a bug X-Git-Tag: V2.12.0~535 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e35b91ed3b83f33025e8dbcafd855af92090f273;p=cc65 Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@3300 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/tgi/tgi-kernel.s b/libsrc/tgi/tgi-kernel.s index 4cf9f8519..41f34d181 100644 --- a/libsrc/tgi/tgi-kernel.s +++ b/libsrc/tgi/tgi-kernel.s @@ -94,7 +94,7 @@ _tgi_install: @L1: inx ; Skip JMP opcode jsr copy ; Copy one byte jsr copy ; Copy one byte - cpx #(TGI_HDR::JUMPTAB + .sizeof(TGI_HDR::JUMPTAB)) + cpy #(TGI_HDR::JUMPTAB + .sizeof(TGI_HDR::JUMPTAB)) bne @L1 ; Call the driver install routine. It may update header variables, so we copy