]> git.sur5r.net Git - cc65/commitdiff
Small fix by Stefan Haubenthal
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 31 May 2004 19:30:27 +0000 (19:30 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 31 May 2004 19:30:27 +0000 (19:30 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3059 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/nes/_scrsize.s
libsrc/nes/nes.inc

index 4de722e64686522c9e70726e853cd79e4c2348f6..8ed7e6f1ff34f34c922cf73eea8852103d802c95 100644 (file)
@@ -11,8 +11,8 @@
 
 .proc   screensize
 
-        ldx     #screenrows
-        ldy     #charsperline
+        ldx     #charsperline
+        ldy     #screenrows
         rts
 
 .endproc
index aaba4fca77b201169c152ea1ead1f9c710c72a0e..1ee5ebc8f8b937a979042423926ca47f1857a8b6 100644 (file)
@@ -26,7 +26,7 @@ ppuhi           = $74
 ppulo           = $75
 ppuval          = $76
 
-screenrows     = (32-4)
+screenrows     = (30-1)
 charsperline    = 32
 xsize           = charsperline