Disable throwing exceptions on a vtlb miss.

In some rare cases this makes games continue when they'd crash otherwise.
We'll have to see if proper exception handling fixes it in a better way.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2801 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2010-03-31 21:36:06 +00:00
parent 19536e2864
commit 9cc5dfa7a3
1 changed files with 3 additions and 1 deletions

View File

@ -231,11 +231,13 @@ static const char* _getModeStr( u32 mode )
}
// Generates a tlbMiss Exception
// Note: Don't throw exceptions yet, they cause a crash when otherwise
// there would be a (slight) chance the game continues (rama).
static __forceinline void vtlb_Miss(u32 addr,u32 mode)
{
Console.Error( "vtlb miss : addr 0x%X, mode %d [%s]", addr, mode, _getModeStr(mode) );
//verify(false);
throw R5900Exception::TLBMiss( addr, !!mode );
//throw R5900Exception::TLBMiss( addr, !!mode );
}
// Just dies a horrible death for now.