small screen code size optimization

This commit is contained in:
FeralChild64 committed 2020-01-08 19:55:39 +01:00
1 parent 9d11276289
commit cfe8736778
2 files changed
+2 -2

No files matched your search

+2 -1
View File
@@ -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