summaryrefslogtreecommitdiff
path: root/src/gp32_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gp32_func.h')
-rw-r--r--src/gp32_func.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gp32_func.h b/src/gp32_func.h
new file mode 100644
index 0000000..8ee461d
--- /dev/null
+++ b/src/gp32_func.h
@@ -0,0 +1,13 @@
+#ifndef __gp32_func_h__
+#define __gp32_func_h__
+
+extern "C" int funcSADDMULT1616(int a,int b,int c,int d);
+
+#define SADDMULT1616(res,a,b,c,d) {\
+ res=funcSADDMULT1616(a,b,c,d);\
+ }
+#define SMULT1616(res,a,b) {\
+ res=funcSADDMULT1616(a,b,0,0);\
+ }
+
+#endif