mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-12 02:44:54 +00:00
Match/Improve more non matching functions (#366)
* Match/Improve more non matchings * Remove SET_NEXT_GAMESTATE from preserved macros
This commit is contained in:
parent
2a2fdf7f3e
commit
b4ac94a8fd
25 changed files with 138 additions and 3869 deletions
|
@ -36,6 +36,7 @@ void TransitionFade_Destroy(TransitionFade* this) {
|
|||
}
|
||||
|
||||
#ifdef NON_MATCHING
|
||||
// ordering differences
|
||||
void TransitionFade_Update(TransitionFade* this, s32 updateRate) {
|
||||
char pad[2];
|
||||
s16 newAlpha;
|
||||
|
@ -50,7 +51,7 @@ void TransitionFade_Update(TransitionFade* this, s32 updateRate) {
|
|||
this->fadeTimer = gSaveContext.fadeDuration;
|
||||
this->isDone = 1;
|
||||
}
|
||||
if (gSaveContext.fadeDuration == 0) {
|
||||
if (!gSaveContext.fadeDuration) {
|
||||
// Divide by 0! Zero is included in ZCommonGet fade_speed
|
||||
osSyncPrintf(VT_COL(RED, WHITE) "0除算! ZCommonGet fade_speed に0がはいってる" VT_RST);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue