From: uz Date: Fri, 13 May 2011 15:31:26 +0000 (+0000) Subject: Corrected screensize function by Stefan Haubenthal. X-Git-Tag: V2.13.3~434 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9c177602277c9fdf515a29931089738cc70700ee;p=cc65 Corrected screensize function by Stefan Haubenthal. git-svn-id: svn://svn.cc65.org/cc65/trunk@5026 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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