summaryrefslogtreecommitdiff
path: root/src/code/z_effect_soft_sprite.c
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2023-07-27 09:15:40 -0700
committerGitHub <noreply@github.com>2023-07-27 12:15:40 -0400
commiteb6b837d65ba1c7ca949c19a199c4c83e296ca5f (patch)
treea7d091f20f31764fe347014bcf1b8ebbcb453f22 /src/code/z_effect_soft_sprite.c
parent9e85f5545a290c0bc113ba9b8a12bb7c56130e59 (diff)
Clang-Format 14 (#1321)
* format * Update dockerfile and other documentation * Update mac instructions
Diffstat (limited to 'src/code/z_effect_soft_sprite.c')
-rw-r--r--src/code/z_effect_soft_sprite.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/code/z_effect_soft_sprite.c b/src/code/z_effect_soft_sprite.c
index 0c247998e..870132a07 100644
--- a/src/code/z_effect_soft_sprite.c
+++ b/src/code/z_effect_soft_sprite.c
@@ -189,11 +189,11 @@ void EffectSs_Spawn(PlayState* play, s32 type, s32 priority, void* initData) {
overlayEntry->loadedRamAddr);
}
- initInfo = (uintptr_t)(
- (overlayEntry->initInfo != NULL)
- ? (void*)((uintptr_t)overlayEntry->initInfo -
- (intptr_t)((uintptr_t)overlayEntry->vramStart - (uintptr_t)overlayEntry->loadedRamAddr))
- : NULL);
+ initInfo = (void*)(uintptr_t)((overlayEntry->initInfo != NULL)
+ ? (void*)((uintptr_t)overlayEntry->initInfo -
+ (intptr_t)((uintptr_t)overlayEntry->vramStart -
+ (uintptr_t)overlayEntry->loadedRamAddr))
+ : NULL);
}
if (initInfo->init != NULL) {