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:
Jake.Stine 2010-03-12 02:27:31 +00:00
parent ee6b27aeb8
commit 34eb64c3fe
4 changed files with 11 additions and 1 deletions

View File

@ -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" );

View File

@ -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 );
}

View File

@ -80,6 +80,13 @@ void RecentIsoManager::RemoveAllFromMenu()
}
}
void RecentIsoManager::Clear()
{
RemoveAllFromMenu();
m_Items.clear();
Repopulate();
}
void RecentIsoManager::Repopulate()
{
int cnt = m_Items.size();

View File

@ -50,6 +50,7 @@ public:
void RemoveAllFromMenu();
void Repopulate();
void Clear();
void Add( const wxString& src );
protected: