summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/src/hermes/common.inc
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2017-01-21 15:18:31 -0500
committerFranklin Wei <git@fwei.tk>2017-12-23 21:01:26 -0500
commita855d6202536ff28e5aae4f22a0f31d8f5b325d0 (patch)
tree8c75f224dd64ed360505afa8843d016b0d75000b /apps/plugins/sdl/src/hermes/common.inc
parent01c6dcf6c7b9bb1ad2fa0450f99bacc5f3d3e04b (diff)
downloadrockbox-a855d6202536ff28e5aae4f22a0f31d8f5b325d0.tar.gz
rockbox-a855d6202536ff28e5aae4f22a0f31d8f5b325d0.zip
Port of Duke Nukem 3D
This ports Fabien Sanglard's Chocolate Duke to run on a version of SDL for Rockbox. Change-Id: I8f2c4c78af19de10c1633ed7bb7a997b43256dd9
Diffstat (limited to 'apps/plugins/sdl/src/hermes/common.inc')
-rw-r--r--apps/plugins/sdl/src/hermes/common.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/sdl/src/hermes/common.inc b/apps/plugins/sdl/src/hermes/common.inc
new file mode 100644
index 0000000000..9587e6ffbd
--- /dev/null
+++ b/apps/plugins/sdl/src/hermes/common.inc
@@ -0,0 +1,9 @@
1; Some common macros for hermes nasm code
2
3%macro SDL_FUNC 1
4%ifdef HIDDEN_VISIBILITY
5GLOBAL %1:function hidden
6%else
7GLOBAL %1
8%endif
9%endmacro