Add more details when alerting on AddressError
This commit is contained in:
parent
b2b108ea0e
commit
49d9abad4f
|
@ -357,7 +357,7 @@ void CRegisters::DoAddressError(bool DelaySlot, uint32_t BadVaddr, bool FromRead
|
||||||
{
|
{
|
||||||
if (HaveDebugger())
|
if (HaveDebugger())
|
||||||
{
|
{
|
||||||
g_Notify->DisplayError("AddressError");
|
g_Notify->DisplayError(stdstr_f("AddressError %s Vaddr: %X", FromRead ? "reading" : "writing", BadVaddr).c_str());
|
||||||
if ((STATUS_REGISTER & STATUS_EXL) != 0)
|
if ((STATUS_REGISTER & STATUS_EXL) != 0)
|
||||||
{
|
{
|
||||||
g_Notify->DisplayError("EXL set in AddressError Exception");
|
g_Notify->DisplayError("EXL set in AddressError Exception");
|
||||||
|
|
Loading…
Reference in New Issue