mirror of https://github.com/PCSX2/pcsx2.git
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,7 +329,11 @@ static __ri void vtlb_Miss(u32 addr,u32 mode)
|
||||||
if( IsDevBuild )
|
if( IsDevBuild )
|
||||||
Cpu->ThrowCpuException( R5900Exception::TLBMiss( addr, !!mode ) );
|
Cpu->ThrowCpuException( R5900Exception::TLBMiss( addr, !!mode ) );
|
||||||
else
|
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
|
// BusError exception: more serious than a TLB miss. If properly emulated the PS2 kernel
|
||||||
|
|
Loading…
Reference in New Issue