From b673d8d77016902866742417224176c77809ed29 Mon Sep 17 00:00:00 2001 From: "fires.gc" Date: Thu, 17 Jul 2008 12:19:28 +0000 Subject: [PATCH] "improved" some error messages git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@19 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/HW/Memmap.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Src/HW/Memmap.cpp b/Source/Core/Core/Src/HW/Memmap.cpp index 93b0f62a09..ba9c331524 100644 --- a/Source/Core/Core/Src/HW/Memmap.cpp +++ b/Source/Core/Core/Src/HW/Memmap.cpp @@ -1038,7 +1038,9 @@ void SDRUpdated() u32 CheckDTLB(u32 _Address, XCheckTLBFlag _Flag) { - _assert_msg_(GEKKO,0,"DBAT! WTF - %08x", _Address); + PanicAlert("TLB: Read from unknown memory (0x%08x)\n" + "Several games uses the TLB to map memory. This\n" + "function is not support in dolphin. Cheers!", _Address); u32 sr = PowerPC::ppcState.sr[EA_SR(_Address)]; @@ -1092,7 +1094,8 @@ u32 CheckDTLB(u32 _Address, XCheckTLBFlag _Flag) { if (VSID == PTE1_VSID(pte) && (api == PTE1_API(pte))) { - PanicAlert("Page found2 ww"); + PanicAlert("TLB: Address found at the second hash function.\n" + "i have never seen this before"); pte = bswap(*(u32*)&pRAM[(pteg_addr+4)]);