Added check for scanlines config changes

This commit is contained in:
Dimitris Panokostas 2018-12-01 11:34:50 +01:00
parent b645eea3d1
commit 1a6238319c

View file

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