small screen code size optimization
This commit is contained in:
1 parent
9d11276289
commit
cfe8736778
2 files changed
+2
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
|
||||
//
|
||||
// Get PNTR value clipped to 0-39 range in .Y, can trash .A
|
||||
// Get PNTR value clipped to 0-39 range in .Y, sets flags to compare with 0, can trash .A
|
||||
//
|
||||
|
||||
screen_get_clipped_PNTR:
|
||||
@@ -12,4 +12,5 @@ screen_get_clipped_PNTR:
|
||||
sbc #40
|
||||
tay
|
||||
!:
|
||||
cpy #$00
|
||||
rts
|
||||
Reference in new issue
Block a user