Frame interp: Refactor JUTFader

Now works regardless of interpolation being on/off
This commit is contained in:
Irastris
2026-04-12 13:56:00 -04:00
parent 1f77e2e5e8
commit d481a23c49
4 changed files with 19 additions and 16 deletions
+5 -2
View File
@@ -17,7 +17,7 @@ JUTFader::JUTFader(int x, int y, int width, int height, JUtility::TColor pColor)
mEStatus = UNKSTATUS_M1;
}
void JUTFader::control() {
void JUTFader::advance() {
if (0 <= mEStatus && mEStatus-- == 0) {
mStatus = field_0x24;
}
@@ -59,9 +59,12 @@ void JUTFader::control() {
break;
}
}
void JUTFader::control() {
advance();
#ifndef TARGET_PC
// Frame interpolation: draw call moved to JFWDisplay
// FRAME INTERP NOTE: Draw is called by JFWDisplay when interpolation is active
draw();
#endif
}