diff --git a/pcsx2/gui/AppConfig.cpp b/pcsx2/gui/AppConfig.cpp index 562002e527..98ce9cbb97 100644 --- a/pcsx2/gui/AppConfig.cpp +++ b/pcsx2/gui/AppConfig.cpp @@ -558,8 +558,9 @@ AppConfig::AppConfig() , AppSettingsTabName(L"none") , GameDatabaseTabName(L"none") , LanguageId(wxLANGUAGE_DEFAULT) + , LanguageCode(L"default") + , CdvdSource(CDVD_SourceType::Iso) { - LanguageCode = L"default"; RecentIsoCount = 20; Listbook_ImageSize = 32; Toolbar_ImageSize = 24; @@ -573,8 +574,6 @@ AppConfig::AppConfig() EnablePresets = true; PresetIndex = 1; - - CdvdSource = CDVD_SourceType::Iso; } // ------------------------------------------------------------------------ diff --git a/pcsx2/gui/AppRes.cpp b/pcsx2/gui/AppRes.cpp index 657b17b34b..abe10df6cf 100644 --- a/pcsx2/gui/AppRes.cpp +++ b/pcsx2/gui/AppRes.cpp @@ -39,8 +39,8 @@ #include "gui/Resources/AppIcon64.h" RecentIsoList::RecentIsoList(int firstIdForMenuItems_or_wxID_ANY) + : Menu(std::unique_ptr(new wxMenu())) { - Menu = std::unique_ptr(new wxMenu()); Menu->Append(MenuId_IsoBrowse, _("Browse..."), _("Browse for an ISO that is not in your recent history.")); Menu->AppendSeparator(); Menu->AppendCheckItem(MenuId_Ask_On_Booting, _("Always ask when booting"), _("Manually select an ISO upon boot ignoring the selection from recent ISO list."));