mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-09 17:14:47 -06:00
Remove write to common.dat
This commit is contained in:
parent
27a48b644d
commit
88f2e06328
@ -1277,12 +1277,6 @@ void GeneralSettings2::StoreConfig()
|
|||||||
|
|
||||||
// account
|
// account
|
||||||
config.account.m_persistent_id = GetSelectedAccountPersistentId();
|
config.account.m_persistent_id = GetSelectedAccountPersistentId();
|
||||||
{
|
|
||||||
std::vector<uint32> orderedIds;
|
|
||||||
for (const auto& acc : Account::GetAccounts())
|
|
||||||
orderedIds.push_back(acc.GetPersistentId());
|
|
||||||
Account::WriteCommonDat(orderedIds);
|
|
||||||
}
|
|
||||||
|
|
||||||
// debug
|
// debug
|
||||||
config.crash_dump = (CrashDump)m_crash_dump->GetSelection();
|
config.crash_dump = (CrashDump)m_crash_dump->GetSelection();
|
||||||
|
|||||||
@ -957,10 +957,6 @@ void MainWindow::OnAccountSelect(wxCommandEvent& event)
|
|||||||
auto& config = GetConfig();
|
auto& config = GetConfig();
|
||||||
config.account.m_persistent_id = accounts[index].GetPersistentId();
|
config.account.m_persistent_id = accounts[index].GetPersistentId();
|
||||||
// config.account.online_enabled.value = false; // reset online for safety
|
// config.account.online_enabled.value = false; // reset online for safety
|
||||||
std::vector<uint32> orderedIds;
|
|
||||||
for (const auto& acc : accounts)
|
|
||||||
orderedIds.push_back(acc.GetPersistentId());
|
|
||||||
Account::WriteCommonDat(orderedIds);
|
|
||||||
GetConfigHandle().Save();
|
GetConfigHandle().Save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user