C89 compliance and line spacing rules

This commit is contained in:
Dwedit 2018-04-01 17:54:03 -05:00
parent 78c8a9b197
commit a275242aef
2 changed files with 1 additions and 3 deletions

View File

@ -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;
} }

View File

@ -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;