aboutsummaryrefslogtreecommitdiff
path: root/plugins/dfxvideo/macros.inc
diff options
context:
space:
mode:
authorPCSX* teams2010-11-16 14:15:22 +0200
committerGrazvydas Ignotas2010-11-16 14:15:22 +0200
commitef79bbde537d6b9c745a7d86cb9df1d04c35590d (patch)
treeef8d2520dbb9e1e345b41b12c9959f300ca8fd10 /plugins/dfxvideo/macros.inc
downloadpcsx_rearmed-ef79bbde537d6b9c745a7d86cb9df1d04c35590d.tar.gz
pcsx_rearmed-ef79bbde537d6b9c745a7d86cb9df1d04c35590d.tar.bz2
pcsx_rearmed-ef79bbde537d6b9c745a7d86cb9df1d04c35590d.zip
pcsxr-1.9.92
Diffstat (limited to 'plugins/dfxvideo/macros.inc')
-rw-r--r--plugins/dfxvideo/macros.inc40
1 files changed, 40 insertions, 0 deletions
diff --git a/plugins/dfxvideo/macros.inc b/plugins/dfxvideo/macros.inc
new file mode 100644
index 0000000..4782928
--- /dev/null
+++ b/plugins/dfxvideo/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
+