add invalid flag for BPStructs (fix issue 5790)

this flag will be set on loading a state and checked before every rendering.
This commit is contained in:
degasus committed 2012-12-21 21:04:53 +01:00
1 parent 2db4549174
commit 2df0c31d13
4 files changed
+51 -31

No files matched your search

+1 -1
View File
@@ -198,7 +198,7 @@ void VideoBackendHardware::DoState(PointerWrap& p)
// Refresh state.
if (p.GetMode() == PointerWrap::MODE_READ)
{
BPReload();
BPInvalidate();
RecomputeCachedArraybases();
// Clear all caches that touch RAM