Project64: welcome screen was not saving drive

This commit is contained in:
zilmar 2020-10-12 11:48:38 +10:30
parent 8ed4a8016c
commit a497e9ef38
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ LRESULT WelcomeScreen::OnOkCmd(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCt
CPath GameDir(GetCWindowText(GetDlgItem(IDC_GAME_DIR)).c_str(), "");
if (GameDir.DirectoryExists())
{
g_Settings->SaveString(RomList_GameDir, GameDir.GetDirectory().c_str());
g_Settings->SaveString(RomList_GameDir, GameDir.GetDriveDirectory().c_str());
Notify().AddRecentDir(GameDir);
}
EndDialog(0);