From 9c177602277c9fdf515a29931089738cc70700ee Mon Sep 17 00:00:00 2001 From: uz Date: Fri, 13 May 2011 15:31:26 +0000 Subject: [PATCH] Corrected screensize function by Stefan Haubenthal. git-svn-id: svn://svn.cc65.org/cc65/trunk@5026 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/nes/_scrsize.s | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libsrc/nes/_scrsize.s b/libsrc/nes/_scrsize.s index 71a45fa32..3524b3a58 100644 --- a/libsrc/nes/_scrsize.s +++ b/libsrc/nes/_scrsize.s @@ -1,6 +1,6 @@ ; ; Ullrich von Bassewitz, 2003-04-14 -; Stefan Haubenthal, 2007-01-21 +; Stefan Haubenthal, 2011-05-11 ; ; Screen size function ; @@ -16,9 +16,9 @@ jsr _get_tv ldx #charsperline ldy #screenrows - cmp #TV::NTSC - beq nopal - dey -nopal: rts + cmp #TV::PAL + beq pal + dey ; NTSC rows +pal: rts .endproc