mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-26 20:31:41 +00:00
is config nullptr?
This commit is contained in:
parent
2f4e20d476
commit
739bea18ce
1 changed files with 5 additions and 5 deletions
|
|
@ -810,7 +810,7 @@ static void DrawConfigOption(int32_t rowIndex, float yOffset, ConfigDef<T>* conf
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/*static T s_oldValue;
|
static T s_oldValue;
|
||||||
|
|
||||||
if (padState.IsTapped(SWA::eKeyState_A))
|
if (padState.IsTapped(SWA::eKeyState_A))
|
||||||
{
|
{
|
||||||
|
|
@ -823,10 +823,10 @@ static void DrawConfigOption(int32_t rowIndex, float yOffset, ConfigDef<T>* conf
|
||||||
g_rightWasHeld = false;
|
g_rightWasHeld = false;
|
||||||
|
|
||||||
// remember value
|
// remember value
|
||||||
s_oldValue = config->Value;
|
// s_oldValue = config->Value;
|
||||||
|
|
||||||
if (config->LockCallback)
|
// if (config->LockCallback)
|
||||||
config->LockCallback(config);
|
// config->LockCallback(config);
|
||||||
|
|
||||||
Game_PlaySound("sys_worldmap_decide");
|
Game_PlaySound("sys_worldmap_decide");
|
||||||
}
|
}
|
||||||
|
|
@ -854,7 +854,7 @@ static void DrawConfigOption(int32_t rowIndex, float yOffset, ConfigDef<T>* conf
|
||||||
Game_PlaySound("sys_worldmap_cansel");
|
Game_PlaySound("sys_worldmap_cansel");
|
||||||
}
|
}
|
||||||
|
|
||||||
lockedOnOption = g_lockedOnOption;*/
|
lockedOnOption = g_lockedOnOption;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_canReset && padState.IsTapped(SWA::eKeyState_X))
|
if (g_canReset && padState.IsTapped(SWA::eKeyState_X))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue