Improved MTGS (added better suspend/resume support), and work on savestates a bit (still not working tho)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1908 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine committed 2009-09-23 09:53:21 +00:00
1 parent 2046b8e7b4
commit aaa3b773c6
31 files changed
+1109 -985

No files matched your search

+7 -5
View File
@@ -53,18 +53,20 @@ wxString GetTranslation( const char* msg )
// LogicErrors enabled as First-Chance exceptions regardless, so do it now. :)
//
// Returns:
// FALSE if the assertion succeeded (condition is valid), or true if the assertion
// TRUE if the assertion succeeded (condition is valid), or FALSE if the assertion
// failed. The true clause is only reachable in release builds, and can be used by code
// to provide a "stable" escape clause for unexpected behavior.
//
DEVASSERT_INLINE bool DevAssert( bool condition, const char* msg )
{
if( condition ) return false;
if( IsDevBuild )
throw Exception::LogicError( msg );
if( condition ) return true;
wxASSERT_MSG_A( false, msg );
return true;
if( IsDevBuild && !IsDebugBuild )
throw Exception::LogicError( msg );
return false;
}
// --------------------------------------------------------------------------------------