Skip to content

Free games for graphing calculators: NumWorks, TI-Nspire CX, Casio fx-CG50 and soon TI-84 Plus CE. Balatro, Celeste, Hollow Knight, Minecraft and more.

Champion Island: the host build links on macOS

Mason3630666049d3576
diff --git a/games/championisland/src/data.S b/games/championisland/src/data.S
index cd5ae334..4cdfa1b5 100644
--- a/games/championisland/src/data.S
+++ b/games/championisland/src/data.S
@@ -1,10 +1,19 @@
/* data.bin (tools/pack.py) in the app's read-only data */
+#ifdef __APPLE__
+ .const_data
+ .p2align 2
+ .globl _ci_data
+_ci_data:
+ .incbin DATA_BIN
+ .p2align 2
+#else
.section .rodata.ci_data,"a"
.balign 4
.global ci_data
ci_data:
.incbin DATA_BIN
.balign 4
+#endif
#ifdef __ELF__
.section .note.GNU-stack,"",%progbits
#endif