From 5c3c1f14d93a1007d71aa68a3e2191b4e11888ed Mon Sep 17 00:00:00 2001 From: alvinwong Date: Sat, 8 Mar 2014 10:23:35 +0000 Subject: [PATCH] Linux (gtk): Actually change filter when loading options. --- desmume/src/gtk/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/desmume/src/gtk/main.cpp b/desmume/src/gtk/main.cpp index 1af7aaa51..4d2b0b2ef 100644 --- a/desmume/src/gtk/main.cpp +++ b/desmume/src/gtk/main.cpp @@ -3004,6 +3004,7 @@ common_gtk_main( class configured_features *my_config) if (config.view_filter < VideoFilterTypeID_None || config.view_filter >= VideoFilterTypeIDCount) { config.view_filter = VideoFilterTypeID_None; } + video->ChangeFilterByID((VideoFilterTypeID)config.view_filter.get()); gtk_action_group_add_radio_actions(action_group, pri_interpolation_entries, G_N_ELEMENTS(pri_interpolation_entries), config.view_filter, G_CALLBACK(Modify_PriInterpolation), NULL);