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 2012-12-21 21:04:53 +01:00
parent 2db4549174
commit 2df0c31d13
4 changed files with 51 additions and 31 deletions

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