mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +00:00
options_menu: video callback on option reset
This commit is contained in:
parent
652e9d52dc
commit
1713a8c0ec
1 changed files with 4 additions and 0 deletions
|
|
@ -504,6 +504,10 @@ static void DrawConfigOption(int32_t rowIndex, float yOffset, ConfigDef<T>* conf
|
||||||
if (g_canReset && padState.IsTapped(SWA::eKeyState_X))
|
if (g_canReset && padState.IsTapped(SWA::eKeyState_X))
|
||||||
{
|
{
|
||||||
config->MakeDefault();
|
config->MakeDefault();
|
||||||
|
|
||||||
|
// TODO: check if value was changed?
|
||||||
|
VideoConfigValueChangedCallback(config);
|
||||||
|
|
||||||
Game_PlaySound("sys_worldmap_decide");
|
Game_PlaySound("sys_worldmap_decide");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue