Added check for scanlines config changes
This commit is contained in:
parent
b645eea3d1
commit
1a6238319c
1 changed files with 7 additions and 1 deletions
|
@ -690,16 +690,22 @@ int check_prefs_changed_gfx()
|
|||
currprefs.gfx_size.width != changed_prefs.gfx_size.width ||
|
||||
currprefs.gfx_resolution != changed_prefs.gfx_resolution ||
|
||||
currprefs.gfx_vresolution != changed_prefs.gfx_vresolution ||
|
||||
currprefs.gfx_iscanlines != changed_prefs.gfx_iscanlines ||
|
||||
currprefs.gfx_pscanlines != changed_prefs.gfx_pscanlines ||
|
||||
currprefs.gfx_correct_aspect != changed_prefs.gfx_correct_aspect ||
|
||||
currprefs.gfx_lores_mode != changed_prefs.gfx_lores_mode)
|
||||
currprefs.gfx_lores_mode != changed_prefs.gfx_lores_mode ||
|
||||
currprefs.gfx_scandoubler != changed_prefs.gfx_scandoubler)
|
||||
{
|
||||
cfgfile_configuration_change(1);
|
||||
currprefs.gfx_size.height = changed_prefs.gfx_size.height;
|
||||
currprefs.gfx_size.width = changed_prefs.gfx_size.width;
|
||||
currprefs.gfx_resolution = changed_prefs.gfx_resolution;
|
||||
currprefs.gfx_vresolution = changed_prefs.gfx_vresolution;
|
||||
currprefs.gfx_iscanlines = changed_prefs.gfx_iscanlines;
|
||||
currprefs.gfx_pscanlines = changed_prefs.gfx_pscanlines;
|
||||
currprefs.gfx_correct_aspect = changed_prefs.gfx_correct_aspect;
|
||||
currprefs.gfx_lores_mode = changed_prefs.gfx_lores_mode;
|
||||
currprefs.gfx_scandoubler = changed_prefs.gfx_scandoubler;
|
||||
update_display(&currprefs);
|
||||
changed = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue