summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/boot/driverominit.c7
-rw-r--r--src/code/z_skelanime.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/src/boot/driverominit.c b/src/boot/driverominit.c
index 7d1441cdd..5ed69abe0 100644
--- a/src/boot/driverominit.c
+++ b/src/boot/driverominit.c
@@ -3,7 +3,14 @@
OSPiHandle __DriveRomHandle;
OSPiHandle* osDriveRomInit(void) {
+#if PLATFORM_IQUE && defined(NON_MATCHING)
+ // On iQue, the compiled output of this file is patched so that the
+ // `!first` check is always taken. For non-matching builds, we edit the
+ // source code instead.
+ static u32 first = false;
+#else
static u32 first = true;
+#endif
register s32 status;
register u32 value;
register u32 prevInt;
diff --git a/src/code/z_skelanime.c b/src/code/z_skelanime.c
index a953bdb21..d21981510 100644
--- a/src/code/z_skelanime.c
+++ b/src/code/z_skelanime.c
@@ -849,7 +849,7 @@ AnimTask* AnimTaskQueue_NewTask(AnimTaskQueue* animTaskQueue, s32 type) {
return task;
}
-#if PLATFORM_N64
+#if !PLATFORM_GC
#define LINK_ANIMATION_OFFSET(addr, offset) \
(((uintptr_t)_link_animetionSegmentRomStart) + SEGMENT_OFFSET(addr) + (offset))
#else