Add more details when alerting on AddressError

This commit is contained in:
PartyPlanner64 2019-12-29 16:16:17 -06:00 committed by GitHub
parent b2b108ea0e
commit 49d9abad4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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");