mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
Improved Boot UI.
Added dev_usb000. Fixed Game Viewer. Minor fixes.
This commit is contained in:
parent
eaef09df91
commit
23539f13b5
14 changed files with 222 additions and 297 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue