summary refs log tree commit diff
path: root/src/incbin.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/incbin.S')
-rw-r--r--src/incbin.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/incbin.S b/src/incbin.S
new file mode 100644
index 0000000..c9d6fd4
--- /dev/null
+++ b/src/incbin.S
@@ -0,0 +1,12 @@
+// binary includes
+
+.data
+
+_game_icon: .incbin "res/icon.png"
+_game_icon_end:
+.global _game_icon, _game_icon_end
+
+#if defined(__EMSCRIPTEN__)
+.size _game_icon, 1
+.size _game_icon_end, 1
+#endif