summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-01-21 18:25:23 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2018-01-21 18:25:23 -0500
commitd35cf06854be09a6bcf5ceb63cdb54cefd6d48a2 (patch)
tree335ea2372430eb2ea5f2b93710ceb6dac700116c /include/global.h
parent772f0aa3fd62678006181bd44b97c12744bd21ed (diff)
nonmatching sub_801120C
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index 1987a0ada..c32909c93 100644
--- a/include/global.h
+++ b/include/global.h
@@ -10,6 +10,7 @@
// to help in decompiling
#define asm_comment(x) asm volatile("@ -- " x " -- ")
#define asm_unified(x) asm(".syntax unified\n" x "\n.syntax divided")
+#define ASM_DIRECT __attribute__((naked))
#if defined (__APPLE__) || defined (__CYGWIN__)
void *memset(void *, int, size_t);