mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-10 12:45:46 +00:00
remove panicalert, tested & reported working by Lanny
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2412 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
be57ca2148
commit
e79a93f616
@ -100,7 +100,7 @@ void CFrame::CreateMenu()
|
|||||||
wxMenu* fileMenu = new wxMenu;
|
wxMenu* fileMenu = new wxMenu;
|
||||||
m_pMenuItemOpen = fileMenu->Append(wxID_OPEN, _T("&Open...\tCtrl+O"));
|
m_pMenuItemOpen = fileMenu->Append(wxID_OPEN, _T("&Open...\tCtrl+O"));
|
||||||
|
|
||||||
#if defined(_WIN32) || defined(__GNUC__) // not tested on linux/os x
|
#if defined(_WIN32) || defined(__GNUC__) // not tested on os x
|
||||||
wxMenu *externalDrive = new wxMenu;
|
wxMenu *externalDrive = new wxMenu;
|
||||||
fileMenu->AppendSubMenu(externalDrive, _T("&Boot from DVD Drive..."));
|
fileMenu->AppendSubMenu(externalDrive, _T("&Boot from DVD Drive..."));
|
||||||
GetAllRemovableDrives(&drives);
|
GetAllRemovableDrives(&drives);
|
||||||
@ -489,10 +489,6 @@ void CFrame::OnPlay(wxCommandEvent& WXUNUSED (event))
|
|||||||
|
|
||||||
void CFrame::OnBootDrive(wxCommandEvent& event)
|
void CFrame::OnBootDrive(wxCommandEvent& event)
|
||||||
{
|
{
|
||||||
#ifdef __GNUC__
|
|
||||||
if (!PanicYesNo("This function has not been tested on Linux, continue?\nPlease report whether it works or not"))
|
|
||||||
return;
|
|
||||||
#endif
|
|
||||||
BootManager::BootCore(drives.at(event.GetId()-IDM_DRIVE1).c_str());
|
BootManager::BootCore(drives.at(event.GetId()-IDM_DRIVE1).c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user