mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +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;
|
||||
if (*bool_p == true)
|
||||
{
|
||||
secondary_core_set_variable_update();
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -281,9 +281,9 @@ static bool rarch_environment_secondary_core_hook(unsigned cmd, void *data)
|
||||
bool result = rarch_environment_cb(cmd, data);
|
||||
if (cmd == RETRO_ENVIRONMENT_GET_VARIABLE_UPDATE && has_variable_update)
|
||||
{
|
||||
has_variable_update = false;
|
||||
bool *bool_p = (bool*)data;
|
||||
*bool_p = true;
|
||||
has_variable_update = false;
|
||||
return true;
|
||||
}
|
||||
return result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user