diff --git a/mm/src/overlays/gamestates/ovl_file_choose/z_file_choose_NES.c b/mm/src/overlays/gamestates/ovl_file_choose/z_file_choose_NES.c index c1554dc27..d7c38b6c0 100644 --- a/mm/src/overlays/gamestates/ovl_file_choose/z_file_choose_NES.c +++ b/mm/src/overlays/gamestates/ovl_file_choose/z_file_choose_NES.c @@ -12,6 +12,7 @@ #include "z64view.h" #include "interface/parameter_static/parameter_static.h" #include "misc/title_static/title_static.h" +#include "2s2h/Enhancements/FrameInterpolation/FrameInterpolation.h" #include s32 D_808144F10 = 100; @@ -1846,6 +1847,8 @@ void FileSelect_ConfigModeDraw(GameState* thisx) { FileSelect_SetWindowVtx(&this->state); FileSelect_SetWindowContentVtx(&this->state); + FrameInterpolation_RecordOpenChild(this, this->configMode); + if ((this->configMode != CM_NAME_ENTRY) && (this->configMode != CM_START_NAME_ENTRY)) { gDPPipeSync(POLY_OPA_DISP++); gDPSetCombineMode(POLY_OPA_DISP++, G_CC_MODULATEIA_PRIM, G_CC_MODULATEIA_PRIM); @@ -1937,6 +1940,8 @@ void FileSelect_ConfigModeDraw(GameState* thisx) { FileSelect_SetView(this, 0.0f, 0.0f, 64.0f); + FrameInterpolation_RecordCloseChild(); + CLOSE_DISPS(this->state.gfxCtx); } @@ -2377,7 +2382,10 @@ void FileSelect_Main(GameState* thisx) { FileSelect_PulsateCursor(&this->state); gFileSelectUpdateFuncs[this->menuMode](&this->state); FileSelect_UpdateAndDrawSkybox(this); + + FrameInterpolation_StartRecord(); gFileSelectDrawFuncs[this->menuMode](&this->state); + FrameInterpolation_StopRecord(); Gfx_SetupDL39_Opa(this->state.gfxCtx);