mirror of https://github.com/PCSX2/pcsx2.git
More minor bugfixes to startup/init and directory/ini junk.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2699 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
ee6b27aeb8
commit
34eb64c3fe
|
@ -124,7 +124,7 @@ void Pcsx2App::ReadUserModeSettings()
|
|||
bool hasGroup = conf_usermode->HasGroup( groupname );
|
||||
bool forceWiz = m_ForceWizard || !hasGroup;
|
||||
|
||||
if( forceWiz )
|
||||
if( !forceWiz )
|
||||
{
|
||||
conf_usermode->SetPath( groupname );
|
||||
forceWiz = !conf_usermode->HasEntry( L"DocumentsFolderMode" );
|
||||
|
|
|
@ -69,6 +69,7 @@ static void WipeSettings()
|
|||
|
||||
//wxRmdir( GetSettingsFolder().ToString() );
|
||||
|
||||
wxGetApp().GetRecentIsoManager().Clear();
|
||||
g_Conf = new AppConfig();
|
||||
sMainFrame.RemoveCdvdMenu();
|
||||
}
|
||||
|
@ -252,6 +253,7 @@ void MainEmuFrame::Menu_BootCdvd_Click( wxCommandEvent &event )
|
|||
}
|
||||
}
|
||||
|
||||
sApp.SysReset();
|
||||
sApp.SysReset();
|
||||
sApp.SysExecute( g_Conf->CdvdSource );
|
||||
}
|
||||
|
|
|
@ -80,6 +80,13 @@ void RecentIsoManager::RemoveAllFromMenu()
|
|||
}
|
||||
}
|
||||
|
||||
void RecentIsoManager::Clear()
|
||||
{
|
||||
RemoveAllFromMenu();
|
||||
m_Items.clear();
|
||||
Repopulate();
|
||||
}
|
||||
|
||||
void RecentIsoManager::Repopulate()
|
||||
{
|
||||
int cnt = m_Items.size();
|
||||
|
|
|
@ -50,6 +50,7 @@ public:
|
|||
|
||||
void RemoveAllFromMenu();
|
||||
void Repopulate();
|
||||
void Clear();
|
||||
void Add( const wxString& src );
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Reference in New Issue