split CreateMenu

This commit is contained in:
Glenn Maynard
2006-02-03 07:38:44 +00:00
parent 37da0e6649
commit 88ac1cf81d
2 changed files with 8 additions and 3 deletions
+7 -3
View File
@@ -37,12 +37,10 @@ bool ScreenOptionsMemoryCard::UpdateCurrentUsbStorageDevices()
return aOldDevices != m_CurrentUsbStorageDevices;
}
void ScreenOptionsMemoryCard::BeginScreen()
void ScreenOptionsMemoryCard::CreateMenu()
{
vector<OptionRowHandler*> vHands;
UpdateCurrentUsbStorageDevices();
FOREACH_CONST( UsbStorageDevice, m_CurrentUsbStorageDevices, iter )
{
// TODO: Make these string themable
@@ -78,6 +76,12 @@ void ScreenOptionsMemoryCard::BeginScreen()
}
InitMenu( vHands );
}
void ScreenOptionsMemoryCard::BeginScreen()
{
UpdateCurrentUsbStorageDevices();
CreateMenu();
ScreenOptions::BeginScreen();
+1
View File
@@ -20,6 +20,7 @@ private:
void ProcessMenuStart( const InputEventPlus &input );
void CreateMenu();
void SelectRowWithMemoryCard( const RString &sOsMountPoint );
bool UpdateCurrentUsbStorageDevices();