1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00

Save two bytes by a small code change.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4708 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2010-06-04 10:15:44 +00:00
parent 23901280c9
commit ba0562c9f0

View File

@ -30,14 +30,13 @@
.proc __clocks_per_sec
ldx #$00 ; Clear high byte of return value
lda PAL ; use hw register, PALNTS is only supported on XL/XE ROM
and #$0e
bne @NTSC
tax
lda #50
rts
@NTSC: ldx #0
lda #60
@NTSC: lda #60
rts
.endproc