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:
ramapcsx2 2011-03-17 15:42:49 +00:00
parent 2d93d8a15b
commit d586454111
1 changed files with 5 additions and 1 deletions

View File

@ -329,7 +329,11 @@ static __ri void vtlb_Miss(u32 addr,u32 mode)
if( IsDevBuild )
Cpu->ThrowCpuException( R5900Exception::TLBMiss( addr, !!mode ) );
else
Console.Error( R5900Exception::TLBMiss( addr, !!mode ).FormatMessage() );
{
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