summaryrefslogtreecommitdiff
path: root/plugins/gxvideo/macros.inc
diff options
context:
space:
mode:
authorSND\gschwind_cp <SND\gschwind_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-12-07 16:07:53 +0000
committerSND\gschwind_cp <SND\gschwind_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-12-07 16:07:53 +0000
commitf03cd2c04ac944d672444a6562d8f1593264a794 (patch)
tree210489249db84419f8f5a23473877262913c4bfa /plugins/gxvideo/macros.inc
parent2461ae5676a3898492c3d87b07f495a37f829c2a (diff)
downloadpcsxr-f03cd2c04ac944d672444a6562d8f1593264a794.tar.gz
first commit of gxvideo plugin (fork of dfxvideo)
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@60768 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/gxvideo/macros.inc')
-rw-r--r--plugins/gxvideo/macros.inc40
1 files changed, 40 insertions, 0 deletions
diff --git a/plugins/gxvideo/macros.inc b/plugins/gxvideo/macros.inc
new file mode 100644
index 00000000..47829285
--- /dev/null
+++ b/plugins/gxvideo/macros.inc
@@ -0,0 +1,40 @@
+; macros.inc - description
+; -------------------
+; begin : Sun Nov 08 2001
+; based on ZSNES macros.mac
+; email : linuzappz@pcsx.net
+
+; This program is free software; you can redistribute it and/or modify *
+; it under the terms of the GNU General Public License as published by *
+; the Free Software Foundation; either version 2 of the License, or *
+; (at your option) any later version. See also the license.txt file for *
+; additional informations. *
+
+
+%ifdef __WIN32__
+
+%imacro EXTSYM 1-*
+%rep %0
+ extern _%1
+ %define %1 _%1
+%rotate 1
+%endrep
+%endmacro
+
+%imacro NEWSYM 1
+ global _%1
+ _%1:
+ %1:
+%endmacro
+
+%else
+
+%define EXTSYM extern
+
+%imacro NEWSYM 1
+ global %1
+ %1:
+%endmacro
+
+%endif
+