From 1713a8c0ec6027d173aaa53cd9d236da9dc429a8 Mon Sep 17 00:00:00 2001 From: Hyper <34012267+hyperbx@users.noreply.github.com> Date: Sun, 8 Dec 2024 03:43:12 +0000 Subject: [PATCH] options_menu: video callback on option reset --- UnleashedRecomp/ui/options_menu.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UnleashedRecomp/ui/options_menu.cpp b/UnleashedRecomp/ui/options_menu.cpp index 86c4329..f3c9bc2 100644 --- a/UnleashedRecomp/ui/options_menu.cpp +++ b/UnleashedRecomp/ui/options_menu.cpp @@ -504,6 +504,10 @@ static void DrawConfigOption(int32_t rowIndex, float yOffset, ConfigDef* conf if (g_canReset && padState.IsTapped(SWA::eKeyState_X)) { config->MakeDefault(); + + // TODO: check if value was changed? + VideoConfigValueChangedCallback(config); + Game_PlaySound("sys_worldmap_decide"); } }