mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 00:28:56 +00:00
-Wii System Menu now recognizes DVDs using the Load Disc/Eject feature!
Games hang though (probably due to unknown ES call) -/dev/di IPC: Cleaned up code and fixed a bug (which I used to accidentally find out what I did), added Volume eject feature for VolumeHandler. -Partially documented Wii DVD cover flags. -Files opened in Wii Read-Write mode are now set to append. -Removed annoying overhead-ish "Idle" log message. As for /dev/di: Someone clearly didn't know what he was doing in that file. Someone freed memory which didn't belong to that file and then complained about a crash. Needless to say the problem is now solved. Big TODO on the /dev/di code though, ExecuteCommand is practically doing nothing but reading. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3365 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
c9b5fbd9bd
commit
c779f95b87
7 changed files with 75 additions and 31 deletions
|
@ -131,7 +131,7 @@ void CFrame::CreateMenu()
|
|||
// Emulation menu
|
||||
wxMenu* emulationMenu = new wxMenu;
|
||||
emulationMenu->Append(IDM_PLAY, _T("&Play"));
|
||||
emulationMenu->Append(IDM_CHANGEDISC, _T("Change Disc"));
|
||||
emulationMenu->Append(IDM_CHANGEDISC, _T("Load Disc"));
|
||||
emulationMenu->Append(IDM_STOP, _T("&Stop"));
|
||||
emulationMenu->AppendSeparator();
|
||||
wxMenu *saveMenu = new wxMenu;
|
||||
|
@ -485,10 +485,17 @@ void CFrame::DoOpen(bool Boot)
|
|||
|
||||
void CFrame::OnChangeDisc(wxCommandEvent& WXUNUSED (event))
|
||||
{
|
||||
if(VolumeHandler::IsValid()) {
|
||||
VolumeHandler::EjectVolume();
|
||||
GetMenuBar()->FindItem(IDM_CHANGEDISC)->SetText("Load Disc");
|
||||
return;
|
||||
}
|
||||
|
||||
DVDInterface::SetLidOpen(true);
|
||||
DoOpen(false);
|
||||
DVDInterface::SetLidOpen(false);
|
||||
DVDInterface::SetDiscInside(true);
|
||||
GetMenuBar()->FindItem(IDM_CHANGEDISC)->SetText("Eject");
|
||||
}
|
||||
|
||||
void CFrame::OnPlay(wxCommandEvent& WXUNUSED (event))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue