mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
C89 compliance and line spacing rules
This commit is contained in:
parent
78c8a9b197
commit
a275242aef
@ -142,10 +142,8 @@ static bool env_hook(unsigned cmd, void *data)
|
|||||||
{
|
{
|
||||||
bool *bool_p = (bool*)data;
|
bool *bool_p = (bool*)data;
|
||||||
if (*bool_p == true)
|
if (*bool_p == true)
|
||||||
{
|
|
||||||
secondary_core_set_variable_update();
|
secondary_core_set_variable_update();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -281,9 +281,9 @@ static bool rarch_environment_secondary_core_hook(unsigned cmd, void *data)
|
|||||||
bool result = rarch_environment_cb(cmd, data);
|
bool result = rarch_environment_cb(cmd, data);
|
||||||
if (cmd == RETRO_ENVIRONMENT_GET_VARIABLE_UPDATE && has_variable_update)
|
if (cmd == RETRO_ENVIRONMENT_GET_VARIABLE_UPDATE && has_variable_update)
|
||||||
{
|
{
|
||||||
has_variable_update = false;
|
|
||||||
bool *bool_p = (bool*)data;
|
bool *bool_p = (bool*)data;
|
||||||
*bool_p = true;
|
*bool_p = true;
|
||||||
|
has_variable_update = false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user