mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-26 17:31:45 +02:00
Apply format corrections
This commit is contained in:
@ -124,9 +124,11 @@ int game_mode_initialise_gpu(GameModeConfig *config, GameModeGPUInfo **info)
|
||||
|
||||
/* Sanity check the performance level value as well */
|
||||
config_get_nv_perf_level(config, &new_info->nv_perf_level);
|
||||
if(new_info->nv_perf_level < 0 || new_info->nv_perf_level > 16)
|
||||
{
|
||||
LOG_ERROR( "ERROR: NVIDIA Performance level value invalid (%ld), will not apply optimisations!\n", new_info->nv_perf_level );
|
||||
if (new_info->nv_perf_level < 0 || new_info->nv_perf_level > 16) {
|
||||
LOG_ERROR(
|
||||
"ERROR: NVIDIA Performance level value invalid (%ld), will not apply "
|
||||
"optimisations!\n",
|
||||
new_info->nv_perf_level);
|
||||
free(new_info);
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user