From: Toni Wilen Date: Wed, 22 Aug 2018 18:52:24 +0000 (+0300) Subject: gfx_filter_keep_autoscale_aspect was not in filter profiles. X-Git-Tag: 4100~105 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=a88999f18dccb7e81c69833f0ca99ef25f569829;p=francis%2Fwinuae.git gfx_filter_keep_autoscale_aspect was not in filter profiles. --- diff --git a/od-win32/win32gui.cpp b/od-win32/win32gui.cpp index 62dcf9db..3ad2271c 100644 --- a/od-win32/win32gui.cpp +++ b/od-win32/win32gui.cpp @@ -18201,6 +18201,7 @@ static const int filtertypes[] = { 0, 0, 0, 0, 0, 0, 0, + 0, -1 }; static void *filtervars[] = { @@ -18215,6 +18216,7 @@ static void *filtervars[] = { &workprefs.gf[0].gfx_filter_gamma, &workprefs.gf[0].gfx_filter_blur, &workprefs.gf[0].gfx_filter_noise, &workprefs.gf[0].gfx_filter_keep_aspect, &workprefs.gf[0].gfx_filter_aspect, &workprefs.gf[0].gfx_filter_autoscale, &workprefs.gf[0].gfx_filter_bilinear, + &workprefs.gf[0].gfx_filter_keep_autoscale_aspect, NULL }; static void *filtervars2[] = { @@ -18229,18 +18231,19 @@ static void *filtervars2[] = { &currprefs.gf[0].gfx_filter_gamma, &currprefs.gf[0].gfx_filter_blur, &currprefs.gf[0].gfx_filter_noise, &currprefs.gf[0].gfx_filter_keep_aspect, &currprefs.gf[0].gfx_filter_aspect, &currprefs.gf[0].gfx_filter_autoscale, &currprefs.gf[0].gfx_filter_bilinear, + &currprefs.gf[0].gfx_filter_keep_autoscale_aspect, NULL }; struct filterpreset { TCHAR *name; - int conf[26]; + int conf[27]; }; static const struct filterpreset filterpresets[] = { - { _T("PAL"), UAE_FILTER_PAL, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 1, 1, 0, 0, 0, 10, 0, 0, 0, 300, 30, 0, 0, 0, 0 }, - { _T("D3D Autoscale"), UAE_FILTER_NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 4, 0 }, - { _T("D3D Full Scaling"), UAE_FILTER_NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0 }, + { _T("PAL"), UAE_FILTER_PAL, 0, 0, 0, 0, 0, 0, 0, 50, 0, 0, 1, 1, 0, 0, 0, 10, 0, 0, 0, 300, 30, 0, 0, 0, 0, 0 }, + { _T("D3D Autoscale"), UAE_FILTER_NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 4, 0, 0 }, + { _T("D3D Full Scaling"), UAE_FILTER_NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0 }, { NULL } };