From e35b91ed3b83f33025e8dbcafd855af92090f273 Mon Sep 17 00:00:00 2001 From: cuz Date: Thu, 25 Nov 2004 13:18:20 +0000 Subject: [PATCH] Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@3300 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/tgi/tgi-kernel.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5