mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Cleanup
This commit is contained in:
parent
67cfff2520
commit
e5b236898f
@ -2148,7 +2148,7 @@ json_cleanup:
|
||||
/* > Exclude trailing newline */
|
||||
metadata_char = filestream_getc(file);
|
||||
|
||||
while((metadata_char == '\n') ||
|
||||
while ((metadata_char == '\n') ||
|
||||
(metadata_char == '\r'))
|
||||
{
|
||||
filestream_seek(file, -2, SEEK_CUR);
|
||||
|
10
retroarch.c
10
retroarch.c
@ -986,7 +986,7 @@ static const camera_driver_t *camera_drivers[] = {
|
||||
#define FAIL_CPU(simd_type) do { \
|
||||
RARCH_ERR(simd_type " code is compiled in, but CPU does not support this feature. Cannot continue.\n"); \
|
||||
retroarch_fail(1, "validate_cpu_features()"); \
|
||||
} while(0)
|
||||
}while(0)
|
||||
|
||||
#ifdef HAVE_ZLIB
|
||||
#define DEFAULT_EXT "zip"
|
||||
@ -3841,7 +3841,7 @@ static bool command_get_status(const char* arg)
|
||||
|
||||
core_info_get_current_core(&core_info);
|
||||
|
||||
if( runloop_paused )
|
||||
if (runloop_paused)
|
||||
status = "PAUSED";
|
||||
if (core_info)
|
||||
system_id = core_info->system_id;
|
||||
@ -4648,7 +4648,7 @@ static void handle_translation_cb(
|
||||
do
|
||||
{
|
||||
retval = rpng_process_image(rpng, &raw_image_data_alpha, new_image_size, &image_width, &image_height);
|
||||
} while(retval == IMAGE_PROCESS_NEXT);
|
||||
}while(retval == IMAGE_PROCESS_NEXT);
|
||||
|
||||
/* Returned output from the png processor is an upside down RGBA
|
||||
* image, so we have to change that to RGB first. This should
|
||||
@ -5897,7 +5897,7 @@ static bool command_event_init_core(enum rarch_core_type type)
|
||||
|
||||
#ifdef HAVE_CONFIGFILE
|
||||
/* auto overrides: apply overrides */
|
||||
if(settings->bools.auto_overrides_enable)
|
||||
if (settings->bools.auto_overrides_enable)
|
||||
runloop_overrides_active = config_load_override();
|
||||
#endif
|
||||
|
||||
@ -5915,7 +5915,7 @@ static bool command_event_init_core(enum rarch_core_type type)
|
||||
|
||||
#ifdef HAVE_CONFIGFILE
|
||||
/* Auto-remap: apply remap files */
|
||||
if(settings->bools.auto_remaps_enable)
|
||||
if (settings->bools.auto_remaps_enable)
|
||||
config_load_remap(settings->paths.directory_input_remapping);
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user