From: cuz Date: Mon, 31 May 2004 19:30:27 +0000 (+0000) Subject: Small fix by Stefan Haubenthal X-Git-Tag: V2.12.0~772 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e625fcea953df85e5da1af56d6ec4fa4518ab2d2;p=cc65 Small fix by Stefan Haubenthal git-svn-id: svn://svn.cc65.org/cc65/trunk@3059 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/nes/_scrsize.s b/libsrc/nes/_scrsize.s index 4de722e64..8ed7e6f1f 100644 --- a/libsrc/nes/_scrsize.s +++ b/libsrc/nes/_scrsize.s @@ -11,8 +11,8 @@ .proc screensize - ldx #screenrows - ldy #charsperline + ldx #charsperline + ldy #screenrows rts .endproc diff --git a/libsrc/nes/nes.inc b/libsrc/nes/nes.inc index aaba4fca7..1ee5ebc8f 100644 --- a/libsrc/nes/nes.inc +++ b/libsrc/nes/nes.inc @@ -26,7 +26,7 @@ ppuhi = $74 ppulo = $75 ppuval = $76 -screenrows = (32-4) +screenrows = (30-1) charsperline = 32 xsize = charsperline