Propagate elf loading failure up.

Also fix mistake in error message.
This commit is contained in:
Scott Mansell
2014-11-02 20:34:59 +13:00
parent b7d4ff679a
commit 5c34766809
3 changed files with 5 additions and 3 deletions

View File

@ -349,7 +349,8 @@ bool CBoot::BootUp()
EmulatedBS2_GC(true);
Load_FST(_StartupPara.bWii);
Boot_ELF(_StartupPara.m_strFilename);
if(!Boot_ELF(_StartupPara.m_strFilename))
return false;
UpdateDebugger_MapLoaded();
Dolphin_Debugger::AddAutoBreakpoints();