summaryrefslogtreecommitdiff
path: root/include-mw/function_target.h
diff options
context:
space:
mode:
authorDemki <mordbz@gmail.com>2020-05-01 09:08:03 +0300
committerDemki <mordbz@gmail.com>2020-05-01 09:08:03 +0300
commit4c5341831c0af7573552629a76b9ef5baadc81a9 (patch)
tree7e0a565279d62cadd4bf8bef08db9b4bdcf5da51 /include-mw/function_target.h
parent081bd6efce613ed078407ab8fd24765275385f9f (diff)
add thumb/arm macros and change makefiles to reflect that.
and decompilation of FUN_020910A4.c
Diffstat (limited to 'include-mw/function_target.h')
-rw-r--r--include-mw/function_target.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include-mw/function_target.h b/include-mw/function_target.h
new file mode 100644
index 00000000..2aaee87e
--- /dev/null
+++ b/include-mw/function_target.h
@@ -0,0 +1,7 @@
+#ifndef GUARD_FUNCTION_TARGET_H
+#define GUARD_FUNCTION_TARGET_H
+
+#define ARM_FUNC _Pragma("thumb off")
+#define THUMB_FUNC _Pragma("thumb on")
+
+#endif //GUARD_FUNCTION_TARGET_H \ No newline at end of file