From 1dcba5c24efd072be9e28d34c0f9af1195c80e16 Mon Sep 17 00:00:00 2001 From: uz Date: Sat, 29 Jan 2011 17:53:58 +0000 Subject: [PATCH] Bugfix by Karri Kaksonen. git-svn-id: svn://svn.cc65.org/cc65/trunk@4949 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/lynx/lynx-cart.s | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libsrc/lynx/lynx-cart.s b/libsrc/lynx/lynx-cart.s index f740614ee..42729a106 100644 --- a/libsrc/lynx/lynx-cart.s +++ b/libsrc/lynx/lynx-cart.s @@ -17,8 +17,7 @@ .include "extzp.inc" .export lynxskip0, lynxread0 .export lynxblock - -__BLOCKSIZE0__ = 1024 + .import __BLOCKSIZE__ .code @@ -89,7 +88,7 @@ lynxblock: lda __iodat sta IODAT stz _FileBlockByte - lda #$100-(>__BLOCKSIZE0__) + lda #<($100-(>__BLOCKSIZE__)) sta _FileBlockByte+1 ply plx -- 2.39.5