summaryrefslogtreecommitdiff
path: root/include/SDK/OS/OSInterrupt.h
diff options
context:
space:
mode:
authorMax <34987259+mparisi20@users.noreply.github.com>2020-10-27 23:02:12 -0400
committerGitHub <noreply@github.com>2020-10-27 23:02:12 -0400
commitf13fcff4a5f496e8bc1fa4ff759698d9ac37c478 (patch)
tree5b69a6a087620e6d533822b17c56483de7783ffc /include/SDK/OS/OSInterrupt.h
parent52139f47a6c4df33fda98b3be5b140cd48ab218d (diff)
parentf4dbe9a90d572a904d3e0c8b6dae3b120e47ca34 (diff)
Merge pull request #153 from mparisi20/master
decompile code_801DBE90.cpp
Diffstat (limited to 'include/SDK/OS/OSInterrupt.h')
-rw-r--r--include/SDK/OS/OSInterrupt.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/SDK/OS/OSInterrupt.h b/include/SDK/OS/OSInterrupt.h
new file mode 100644
index 0000000..700faf6
--- /dev/null
+++ b/include/SDK/OS/OSInterrupt.h
@@ -0,0 +1,15 @@
+#ifndef POKEREVO_OSINTERRUPT_H
+#define POKEREVO_OSINTERRUPT_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+BOOL OSDisableInterrupts(void);
+void OSRestoreInterrupts(BOOL enable);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //POKEREVO_OSINTERRUPT_H