From e625fcea953df85e5da1af56d6ec4fa4518ab2d2 Mon Sep 17 00:00:00 2001 From: cuz Date: Mon, 31 May 2004 19:30:27 +0000 Subject: [PATCH] Small fix by Stefan Haubenthal git-svn-id: svn://svn.cc65.org/cc65/trunk@3059 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/nes/_scrsize.s | 4 ++-- libsrc/nes/nes.inc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5