Improved Boot UI.

Added dev_usb000.
Fixed Game Viewer.
Minor fixes.
This commit is contained in:
DH 2013-12-08 18:54:45 +02:00
parent eaef09df91
commit 23539f13b5
14 changed files with 222 additions and 297 deletions

View file

@ -88,14 +88,13 @@ void GameViewer::DClick(wxListEvent& event)
long i = GetFirstSelected();
if(i < 0) return;
const wxString& path = m_path + "\\" + m_game_data[i].root + "\\USRDIR\\BOOT.BIN";
if(!wxFileExists(path))
const wxString& path = m_path + m_game_data[i].root;
Emu.Stop();
if(!Emu.BootGame(path.c_str()))
{
ConLog.Error("Boot error: elf not found! [%s]", path.mb_str());
return;
}
Emu.Stop();
Emu.SetPath(path);
Emu.Run();
}