Make the HLE'd OSPanic print out the associated message.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4498 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
0d7d699710
commit
8ad15321f2
|
@ -31,11 +31,12 @@ void GetStringVA(std::string& _rOutBuffer, u32 strReg = 3);
|
||||||
|
|
||||||
void HLE_OSPanic()
|
void HLE_OSPanic()
|
||||||
{
|
{
|
||||||
std::string Error;
|
std::string Error, Msg;
|
||||||
GetStringVA(Error);
|
GetStringVA(Error);
|
||||||
|
GetStringVA(Msg, 5);
|
||||||
|
|
||||||
PanicAlert("OSPanic: %s", Error.c_str());
|
PanicAlert("OSPanic: %s: %s", Error.c_str(), Msg.c_str());
|
||||||
ERROR_LOG(OSREPORT, "(PC=%08x), OSPanic: %s", LR, Error.c_str());
|
ERROR_LOG(OSREPORT, "%08x->%08x| OSPanic: %s: %s", LR, PC, Error.c_str(), Msg.c_str());
|
||||||
|
|
||||||
NPC = LR;
|
NPC = LR;
|
||||||
}
|
}
|
||||||
|
|
|
@ -387,7 +387,7 @@ void CCodeWindow::UpdateLists()
|
||||||
void CCodeWindow::UpdateCallstack()
|
void CCodeWindow::UpdateCallstack()
|
||||||
{
|
{
|
||||||
//if (PowerPC::GetState() == PowerPC::CPU_POWERDOWN) return;
|
//if (PowerPC::GetState() == PowerPC::CPU_POWERDOWN) return;
|
||||||
//if (Core::GetState() == Core::CORE_STOPPING) return;
|
if (Core::GetState() == Core::CORE_STOPPING) return;
|
||||||
|
|
||||||
callstack->Clear();
|
callstack->Clear();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue