summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorHenny022p <info@henny022.de>2022-10-14 06:14:38 +0200
committerHenny022p <info@henny022.de>2022-10-14 06:14:38 +0200
commit05b46ee3fe418d5833ecc77b1b2dc74a47fdd4bf (patch)
treeb2c400ed938180680d5be43306db66d9b15b6954 /include/global.h
parent9ef3442fe3699228176111843ddb08271f21b8f5 (diff)
match sub_08090094
uses forced register
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index 6126b24a..94d19c8f 100644
--- a/include/global.h
+++ b/include/global.h
@@ -95,6 +95,12 @@
#define END_NONMATCH }
#endif
+#if NON_MATCHING
+#define FORCE_REGISTER(var, reg) var
+#else
+#define FORCE_REGISTER(var, reg) register var asm(#reg)
+#endif
+
typedef union {
s32 WORD;
struct {