System: Fix toggling Show GPU Usage at runtime

This commit is contained in:
Connor McLaughlin 2022-12-20 21:32:51 +10:00
parent fd050334c0
commit c2e15b0078
1 changed files with 4 additions and 4 deletions

View File

@ -3201,6 +3201,7 @@ void System::CheckForSettingsChanges(const Settings& old_settings)
g_settings.display_crop_mode != old_settings.display_crop_mode ||
g_settings.display_aspect_ratio != old_settings.display_aspect_ratio ||
g_settings.display_alignment != old_settings.display_alignment ||
g_settings.display_show_gpu != old_settings.display_show_gpu ||
g_settings.gpu_pgxp_enable != old_settings.gpu_pgxp_enable ||
g_settings.gpu_pgxp_texture_correction != old_settings.gpu_pgxp_texture_correction ||
g_settings.gpu_pgxp_color_correction != old_settings.gpu_pgxp_color_correction ||
@ -3250,10 +3251,9 @@ void System::CheckForSettingsChanges(const Settings& old_settings)
g_cdrom.SetReadaheadSectors(g_settings.cdrom_readahead_sectors);
if (g_settings.memory_card_types != old_settings.memory_card_types ||
g_settings.memory_card_paths != old_settings.memory_card_paths ||
(g_settings.memory_card_use_playlist_title != old_settings.memory_card_use_playlist_title &&
HasMediaSubImages())/* FIXME ||
g_settings.memory_card_directory != old_settings.memory_card_directory*/)
g_settings.memory_card_paths != old_settings.memory_card_paths ||
(g_settings.memory_card_use_playlist_title != old_settings.memory_card_use_playlist_title &&
HasMediaSubImages()))
{
UpdateMemoryCardTypes();
}