Save secondary list sorting.
Allow sorting by platform ascending. Fixes issue 5774.
This commit is contained in:
1 parent
351979795c
commit
4c7b63cf0e
4 files changed
+27
-10
No files matched your search
@@ -212,6 +212,7 @@ void SConfig::SaveSettings()
|
||||
ini.Set("GameList", "ListTaiwan", m_ListTaiwan);
|
||||
ini.Set("GameList", "ListUnknown", m_ListUnknown);
|
||||
ini.Set("GameList", "ListSort", m_ListSort);
|
||||
ini.Set("GameList", "ListSortSecondary", m_ListSort2);
|
||||
|
||||
// Core
|
||||
ini.Set("Core", "HLE_BS2", m_LocalCoreStartupParameter.bHLE_BS2);
|
||||
@@ -350,7 +351,8 @@ void SConfig::LoadSettings()
|
||||
ini.Get("GameList", "ListKorea", &m_ListKorea, true);
|
||||
ini.Get("GameList", "ListTaiwan", &m_ListTaiwan, true);
|
||||
ini.Get("GameList", "ListUnknown", &m_ListUnknown, true);
|
||||
ini.Get("GameList", "ListSort", &m_ListSort, 2);
|
||||
ini.Get("GameList", "ListSort", &m_ListSort, 3);
|
||||
ini.Get("GameList", "ListSortSecondary",&m_ListSort2, 0);
|
||||
|
||||
// Core
|
||||
ini.Get("Core", "HLE_BS2", &m_LocalCoreStartupParameter.bHLE_BS2, false);
|
||||
|
||||
@@ -62,7 +62,6 @@ struct SConfig : NonCopyable
|
||||
bool m_InterfaceLogWindow;
|
||||
bool m_InterfaceLogConfigWindow;
|
||||
bool m_InterfaceConsole;
|
||||
int m_ListSort;
|
||||
|
||||
bool m_ListDrives;
|
||||
bool m_ListWad;
|
||||
@@ -76,6 +75,9 @@ struct SConfig : NonCopyable
|
||||
bool m_ListKorea;
|
||||
bool m_ListTaiwan;
|
||||
bool m_ListUnknown;
|
||||
int m_ListSort;
|
||||
int m_ListSort2;
|
||||
|
||||
std::string m_WirelessMac;
|
||||
bool m_PauseMovie;
|
||||
bool m_ShowLag;
|
||||
|
||||
Reference in new issue
Block a user