From 368cdbf11536e69f5b3af24631de780ef8453e3e Mon Sep 17 00:00:00 2001 From: cuz Date: Mon, 5 Apr 2004 13:36:10 +0000 Subject: [PATCH] Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@2975 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/runtime/callirq.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsrc/runtime/callirq.s b/libsrc/runtime/callirq.s index e824b62df..1fd376f8b 100644 --- a/libsrc/runtime/callirq.s +++ b/libsrc/runtime/callirq.s @@ -38,10 +38,10 @@ callirq: ldy #.lobyte(__IRQFUNC_COUNT__*2) callirq_y: dey - lda __IRQFUNC_TABLE__+1,y + lda __IRQFUNC_TABLE__,y sta jmpvec+2 ; Modify code below dey - lda __IRQFUNC_TABLE__+0,y + lda __IRQFUNC_TABLE__,y sta jmpvec+1 ; Modify code below sty index+1 ; Modify code below jmpvec: jsr $FFFF ; Patched at runtime -- 2.39.5