From 6fb0c7a7a53e1eba7a0f5dc5b1ade312a0d76119 Mon Sep 17 00:00:00 2001 From: Toad King Date: Thu, 14 Jun 2012 03:21:06 -0400 Subject: initial pocketsnes commit --- src/gp32_func.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/gp32_func.h (limited to 'src/gp32_func.h') 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 -- cgit v1.2.3