mirror of
https://github.com/libretro/pcsx2.git
synced 2024-11-24 17:59:47 +00:00
Stopped the TLB miss log spam in release builds. Freezing gui's aren't so nice :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4445 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
2d93d8a15b
commit
d586454111
@ -329,8 +329,12 @@ static __ri void vtlb_Miss(u32 addr,u32 mode)
|
||||
if( IsDevBuild )
|
||||
Cpu->ThrowCpuException( R5900Exception::TLBMiss( addr, !!mode ) );
|
||||
else
|
||||
{
|
||||
static int spamStop = 0;
|
||||
if ( spamStop++ < 50 )
|
||||
Console.Error( R5900Exception::TLBMiss( addr, !!mode ).FormatMessage() );
|
||||
}
|
||||
}
|
||||
|
||||
// BusError exception: more serious than a TLB miss. If properly emulated the PS2 kernel
|
||||
// itself would invoke a diagnostic/assertion screen that displays the cpu state at the
|
||||
|
Loading…
Reference in New Issue
Block a user