Merge pull request #1694 from PartyPlanner64/AddressError-verbose

Add more details when alerting on AddressError
This commit is contained in:
zilmar 2019-12-30 09:58:32 +10:30 committed by GitHub
commit 617db96317
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())
{
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)
{
g_Notify->DisplayError("EXL set in AddressError Exception");