]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
gfx_filter_keep_autoscale_aspect was not in filter profiles.
authorToni Wilen <twilen@winuae.net>
Wed, 22 Aug 2018 18:52:24 +0000 (21:52 +0300)
committerToni Wilen <twilen@winuae.net>
Wed, 22 Aug 2018 18:52:24 +0000 (21:52 +0300)
od-win32/win32gui.cpp

index 62dcf9db5674a1e68d58dd04eaf7365a1d967f44..3ad2271cb77580a17fbb2ba3a4aaa3b9b8c76f3d 100644 (file)
@@ -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 }
 };