summaryrefslogtreecommitdiff
path: root/src/code/m_scene.c
diff options
context:
space:
mode:
authorTom Overton <tom-overton@users.noreply.github.com>2024-05-06 15:26:01 -0700
committerGitHub <noreply@github.com>2024-05-06 15:26:01 -0700
commit8b5260063f75dbaa29636f34ec05774d692cf569 (patch)
tree12e9065cf7c180d5b70f352127b45fb67fe5ed42 /src/code/m_scene.c
parent749152a745f19e6e1d0705cb7a48f34dd4d8df17 (diff)
`ac_structure` OK with some minor documentation (#183)
* Partial progress * `func_809E7F94_jp` OK * Do some more DMA functions * Fix build * Finally make `func_809E823C_jp` work properly * Finish DMA functions * Use ALIGN16 * Make the size for `mSc_secure_exchange_keep_bank` more obviously related to what follows * Fix build after merge * aSTR_setupActor_proc OK * aSTR_init_clip_area OK * Import data to C * Lots of cleanup * Use enum values in actors * StructureActor-ify the structures * Move `setupInfo_table` inside the function and name it * Name `aSTR_get_pal_segment` from context clues * Use all the names I can from DnM+ * Try (and fail) to import BSS into C * Match bss * Make bss sizes more "correct" * Use ARRAY_COUNT to define DMA length * A lot fewer hardcoded numbers * Lots of misc cleanup * A huge amount of names and cleanup * Get this PR-ready * Forgot some booleans * Name a lot of stuff after digging into the object files * Remove magic numbers for bss array size * Respond to review
Diffstat (limited to 'src/code/m_scene.c')
-rw-r--r--src/code/m_scene.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/code/m_scene.c b/src/code/m_scene.c
index 3f27d44..d3be1c9 100644
--- a/src/code/m_scene.c
+++ b/src/code/m_scene.c
@@ -385,9 +385,9 @@ void mSc_dmacopy_all_exchange_bank(ObjectExchangeBank* exchange) {
bank++;
}
- if (common_data.clip.unk_08C != NULL) {
- if (common_data.clip.unk_08C->unk_A4 != NULL) {
- common_data.clip.unk_08C->unk_A4(exchange);
+ if (common_data.clip.structureClip != NULL) {
+ if (common_data.clip.structureClip->unk_A4 != NULL) {
+ common_data.clip.structureClip->unk_A4(exchange);
}
}
if (common_data.clip.unk_040 != NULL) {