mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-13 11:24:40 +00:00
Match retail z_fbdemo.c and z_fbdemo_fade.c (#1727)
* Match retail z_fbdemo.c and z_fbdemo_fade.c * Tweak macro arguments
This commit is contained in:
parent
2ee7a2b7ff
commit
300b3a8ffd
2 changed files with 18 additions and 15 deletions
|
@ -62,7 +62,7 @@ void TransitionFade_Update(void* thisx, s32 updateRate) {
|
|||
break;
|
||||
|
||||
case TRANS_FADE_TYPE_ONE_WAY:
|
||||
this->timer += updateRate;
|
||||
((TransitionFade*)thisx)->timer += updateRate;
|
||||
if (this->timer >= gSaveContext.transFadeDuration) {
|
||||
this->timer = gSaveContext.transFadeDuration;
|
||||
this->isDone = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue