Rewrite '== false' to '!' for our own code
This commit is contained in:
parent
58056a409d
commit
6d17d11132
|
@ -2344,10 +2344,8 @@ TODO: Add a setting for these tweaks */
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case CMD_EVENT_AUDIO_REINIT:
|
case CMD_EVENT_AUDIO_REINIT:
|
||||||
{
|
|
||||||
driver_uninit(DRIVER_AUDIO_MASK);
|
driver_uninit(DRIVER_AUDIO_MASK);
|
||||||
drivers_init(DRIVER_AUDIO_MASK);
|
drivers_init(DRIVER_AUDIO_MASK);
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case CMD_EVENT_RESET_CONTEXT:
|
case CMD_EVENT_RESET_CONTEXT:
|
||||||
{
|
{
|
||||||
|
@ -2505,7 +2503,7 @@ TODO: Add a setting for these tweaks */
|
||||||
if (settings->bools.translation_service_enable)
|
if (settings->bools.translation_service_enable)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_TRANSLATE
|
#ifdef HAVE_TRANSLATE
|
||||||
if (g_translation_service_status == false)
|
if (!g_translation_service_status)
|
||||||
{
|
{
|
||||||
RARCH_LOG("OCR START\n");
|
RARCH_LOG("OCR START\n");
|
||||||
run_translation_service();
|
run_translation_service();
|
||||||
|
|
|
@ -366,7 +366,7 @@ static bool d3d9_cg_renderchain_init_shader_fvf(
|
||||||
/* Stream {0, 1, 2, 3} might be already taken. Find first vacant stream. */
|
/* Stream {0, 1, 2, 3} might be already taken. Find first vacant stream. */
|
||||||
for (index = 0; index < 4; index++)
|
for (index = 0; index < 4; index++)
|
||||||
{
|
{
|
||||||
if (stream_taken[index] == false)
|
if (!stream_taken[index])
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -844,7 +844,7 @@ static void iohidmanager_hid_device_add_device(
|
||||||
/* take care of buttons/axes with duplicate 'use' values */
|
/* take care of buttons/axes with duplicate 'use' values */
|
||||||
for (i = 0; i < 11; i++)
|
for (i = 0; i < 11; i++)
|
||||||
{
|
{
|
||||||
if (found_axis[i] == false && tmpAxes)
|
if (!found_axis[i] && tmpAxes)
|
||||||
{
|
{
|
||||||
apple_input_rec_t *next = tmpAxes->next;
|
apple_input_rec_t *next = tmpAxes->next;
|
||||||
tmpAxes->id = i;
|
tmpAxes->id = i;
|
||||||
|
|
|
@ -38,7 +38,7 @@ static int ozone_get_entries_padding(ozone_handle_t* ozone, bool old_list)
|
||||||
else
|
else
|
||||||
return ozone->dimensions.entry_padding_horizontal_half;
|
return ozone->dimensions.entry_padding_horizontal_half;
|
||||||
else if (ozone->depth == 2)
|
else if (ozone->depth == 2)
|
||||||
if (old_list && ozone->fade_direction == false) /* false = left to right */
|
if (old_list && !ozone->fade_direction) /* false = left to right */
|
||||||
return ozone->dimensions.entry_padding_horizontal_half;
|
return ozone->dimensions.entry_padding_horizontal_half;
|
||||||
else
|
else
|
||||||
return ozone->dimensions.entry_padding_horizontal_full;
|
return ozone->dimensions.entry_padding_horizontal_full;
|
||||||
|
|
|
@ -386,7 +386,7 @@ static void task_netplay_crc_scan_handler(retro_task_t *task)
|
||||||
for (i = 0; i < game_list->size; i++)
|
for (i = 0; i < game_list->size; i++)
|
||||||
{
|
{
|
||||||
state->found = true;
|
state->found = true;
|
||||||
if (found[i] == false)
|
if (!found[i])
|
||||||
{
|
{
|
||||||
state->found = false;
|
state->found = false;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue