From 1743e6948e20dfb8ab3dc4e15b257cdd004cf3c3 Mon Sep 17 00:00:00 2001 From: Daryl Borth Date: Mon, 18 Jul 2022 13:05:23 -0600 Subject: [PATCH] switch to chosen video mode on first load if not automatic --- source/preferences.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/preferences.cpp b/source/preferences.cpp index 24da5eb..802dfae 100644 --- a/source/preferences.cpp +++ b/source/preferences.cpp @@ -19,6 +19,7 @@ #include "vbagx.h" #include "menu.h" #include "fileop.h" +#include "video.h" #include "filebrowser.h" #include "input.h" #include "button_mapping.h" @@ -857,6 +858,10 @@ bool LoadPrefs() CreateDirectory(dirPath); } + if(GCSettings.videomode > 0) { + ResetVideo_Menu(); + } + #ifdef HW_RVL bg_music = (u8 * )bg_music_ogg; bg_music_size = bg_music_ogg_size;