mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
FPURegCache: The invariant checking is very slow in debug mode. Let's only turn it on when we need it.
This commit is contained in:
1 parent
28b58ca05d
commit
608d082e49
1 file changed
+2
-2
@@ -901,8 +901,8 @@ OpArg FPURegCache::GetDefaultLocation(int reg) const {
|
||||
}
|
||||
|
||||
void FPURegCache::Invariant() const {
|
||||
#ifdef _DEBUG
|
||||
_dbg_assert_msg_(SanityCheck() == 0, "Sanity check failed: %d", SanityCheck());
|
||||
#if 0
|
||||
_assert_msg_(SanityCheck() == 0, "Sanity check failed: %d", SanityCheck());
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user