split CreateMenu
This commit is contained in:
@@ -37,12 +37,10 @@ bool ScreenOptionsMemoryCard::UpdateCurrentUsbStorageDevices()
|
|||||||
return aOldDevices != m_CurrentUsbStorageDevices;
|
return aOldDevices != m_CurrentUsbStorageDevices;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScreenOptionsMemoryCard::BeginScreen()
|
void ScreenOptionsMemoryCard::CreateMenu()
|
||||||
{
|
{
|
||||||
vector<OptionRowHandler*> vHands;
|
vector<OptionRowHandler*> vHands;
|
||||||
|
|
||||||
UpdateCurrentUsbStorageDevices();
|
|
||||||
|
|
||||||
FOREACH_CONST( UsbStorageDevice, m_CurrentUsbStorageDevices, iter )
|
FOREACH_CONST( UsbStorageDevice, m_CurrentUsbStorageDevices, iter )
|
||||||
{
|
{
|
||||||
// TODO: Make these string themable
|
// TODO: Make these string themable
|
||||||
@@ -78,6 +76,12 @@ void ScreenOptionsMemoryCard::BeginScreen()
|
|||||||
}
|
}
|
||||||
|
|
||||||
InitMenu( vHands );
|
InitMenu( vHands );
|
||||||
|
}
|
||||||
|
|
||||||
|
void ScreenOptionsMemoryCard::BeginScreen()
|
||||||
|
{
|
||||||
|
UpdateCurrentUsbStorageDevices();
|
||||||
|
CreateMenu();
|
||||||
|
|
||||||
ScreenOptions::BeginScreen();
|
ScreenOptions::BeginScreen();
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ private:
|
|||||||
|
|
||||||
void ProcessMenuStart( const InputEventPlus &input );
|
void ProcessMenuStart( const InputEventPlus &input );
|
||||||
|
|
||||||
|
void CreateMenu();
|
||||||
void SelectRowWithMemoryCard( const RString &sOsMountPoint );
|
void SelectRowWithMemoryCard( const RString &sOsMountPoint );
|
||||||
|
|
||||||
bool UpdateCurrentUsbStorageDevices();
|
bool UpdateCurrentUsbStorageDevices();
|
||||||
|
|||||||
Reference in New Issue
Block a user