summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice Henke <maurice@henke.gg>2021-07-23 13:13:49 +0200
committerMaurice Henke <maurice@henke.gg>2021-07-23 13:13:49 +0200
commit36586d35e41f9f41daa5a948e5c9777c60600afc (patch)
tree0fe6169c10a520df7a6fcf4f775440c2e161a59a
parent2524ebbc7d93bb189ab3e1f1c3f010afa2d2fa22 (diff)
asm header
-rw-r--r--GameCube/include/asm.h74
1 files changed, 37 insertions, 37 deletions
diff --git a/GameCube/include/asm.h b/GameCube/include/asm.h
index 69fb70a3..1406f25d 100644
--- a/GameCube/include/asm.h
+++ b/GameCube/include/asm.h
@@ -1,38 +1,38 @@
-/** @file asm.h
- * @brief ASM functions
- *
- * @author AECX
- * @author Zephiles
- * @bug No known bugs.
- */
-#ifndef RANDO_ASM_H
-#define RANDO_ASM_H
-
-#include <cstdint>
-
-// Original: li 0xE0
-// Normally loads the poesoul item id into r4
-#define e_hp_ExecDead_liOffset 0x247C
-#define e_po_ExecDead_liOffset 0x3C9C
-
-// Original:
-// stb r0, 0x10c( r4 ) = > numPoeSouls
-// Normally increments poe count
-#define e_hp_ExecDead_incOffset 0x2354
-#define e_po_ExecDead_incOffset 0x36A8
-
-namespace mod::assembly
-{
- extern "C"
- {
- // d_e_hp.rel
- void asmAdjustPoeItem( void );
- int32_t handleAdjustPoeItem( void* );
-
- // d_e_po.rel
- void asmAdjustAGPoeItem( void );
- int32_t handleAdjustAGPoeItem( void* );
- }
-} // namespace mod::assembly
-
+/** @file asm.h
+ * @brief ASM functions
+ *
+ * @author AECX
+ * @author Zephiles
+ * @bug No known bugs.
+ */
+#ifndef RANDO_ASM_H
+#define RANDO_ASM_H
+
+#include <cstdint>
+
+// Original: li 0xE0
+// Normally loads the poesoul item id into r4
+#define e_hp_ExecDead_liOffset 0x247C
+#define e_po_ExecDead_liOffset 0x3C9C
+
+// Original:
+// stb r0, 0x10c( r4 ) = > numPoeSouls
+// Normally increments poe count
+#define e_hp_ExecDead_incOffset 0x2354
+#define e_po_ExecDead_incOffset 0x36A8
+
+namespace mod::assembly
+{
+ extern "C"
+ {
+ // d_e_hp.rel
+ void asmAdjustPoeItem( void );
+ int32_t handleAdjustPoeItem( void* );
+
+ // d_e_po.rel
+ void asmAdjustAGPoeItem( void );
+ int32_t handleAdjustAGPoeItem( void* );
+ }
+} // namespace mod::assembly
+
#endif \ No newline at end of file