aboutsummaryrefslogtreecommitdiff
path: root/portstat.s
diff options
context:
space:
mode:
Diffstat (limited to 'portstat.s')
-rw-r--r--portstat.s6
1 files changed, 5 insertions, 1 deletions
diff --git a/portstat.s b/portstat.s
index a3dab60..fa68b9f 100644
--- a/portstat.s
+++ b/portstat.s
@@ -19,7 +19,11 @@ screenlen = * - _port_stat_screen
screenpages = >screenlen
partial = <screenlen
- .code
+ .ifdef CART_TARGET
+ .segment "HIGHCODE"
+ .else
+ .code
+ .endif
; only redraw the port status screen if needed. this saves 53 bytes
; compared to using memcpy().