Redraw display after changing video filter. (Regression from commit 8622a33.)

This commit is contained in:
SuuperW 2018-06-27 11:25:48 -05:00
parent 8622a334a2
commit 35a2ca9721
1 changed files with 3 additions and 0 deletions

View File

@ -4477,6 +4477,9 @@ void FilterUpdate(HWND hwnd, bool user)
SetRotate(hwnd, video.rotation, false);
if(user && windowSize==0) {}
else ScaleScreen(windowSize, false);
if (romloaded)
Display();
WritePrivateProfileInt("Video", "Filter", video.currentfilter, IniName);
WritePrivateProfileInt("Video", "Width", video.width, IniName);
WritePrivateProfileInt("Video", "Height", video.height, IniName);