aboutsummaryrefslogtreecommitdiff
path: root/taipan.c
diff options
context:
space:
mode:
Diffstat (limited to 'taipan.c')
-rw-r--r--taipan.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/taipan.c b/taipan.c
index f0974f7..2855589 100644
--- a/taipan.c
+++ b/taipan.c
@@ -769,6 +769,10 @@ void new_gun(void) {
return;
}
+#ifdef CART_TARGET
+# pragma code-name (push, "HIGHCODE")
+#endif
+
/* cprintfancy_centered() does this for 0 to 999999:
| 999999 |
| 99999 |
@@ -805,15 +809,25 @@ void cprintfancy_centered(unsigned long num) {
}
#endif
+#ifdef CART_TARGET
+# pragma code-name (pop)
+#endif
+
/* if BIGNUM, cprintfancy() just converts to bignum and uses
cprintfancy_big() to do the work. A bit slower, but fast
enough, and avoids duplicate logic. */
#ifdef BIGNUM
+# ifdef CART_TARGET
+# pragma code-name (push, "HIGHCODE")
+# endif
void cprintfancy(unsigned long num) {
bignum(b);
ulong_to_big(num, b);
cprintfancy_big(b);
}
+# ifdef CART_TARGET
+# pragma code-name (pop)
+# endif
#else
/* replaces old fancy_numbers. same logic, but stuff is just
printed on the screen rather than being kept in a buffer.