1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-13 19:35:28 +00:00

T() macro 5 (#2089)

* T() in __osMalloc.c

* T() in code_80097A00.c

* T() in debug_malloc.c

* T() in code/load.c

* T() in sys_math3d.c

* T() in z_collision_btltbls.c, z_fbdemo_fade.c, z_fcurve_data_skelanime.c, z_view.c

* T() in z_collision_check.c

* remaining T() in __osMalloc.c

* __osMalloc consistency

* format
This commit is contained in:
Dragorn421 2024-08-27 14:32:33 +02:00 committed by GitHub
parent d2aca2239f
commit fd14ddcbf1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 104 additions and 91 deletions

View file

@ -68,8 +68,8 @@ void TransitionFade_Update(void* thisx, s32 updateRate) {
this->isDone = true;
}
if ((u32)gSaveContext.transFadeDuration == 0) {
// "Divide by 0! Zero is included in ZCommonGet fade_speed"
PRINTF(VT_COL(RED, WHITE) "0除算! ZCommonGet fade_speed に0がはいってる" VT_RST);
PRINTF(VT_COL(RED, WHITE) T("0除算! ZCommonGet fade_speed に0がはいってる",
"Divide by 0! Zero is included in ZCommonGet fade_speed") VT_RST);
}
alpha = (255.0f * this->timer) / ((void)0, gSaveContext.transFadeDuration);