dx9 savestate crash fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5380 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
0a12b9d9f5
commit
fadbe78a59
|
@ -294,7 +294,9 @@ void Shutdown()
|
|||
|
||||
void DoState(unsigned char **ptr, int mode) {
|
||||
// Clear texture cache because it might have written to RAM
|
||||
CommandProcessor::FifoCriticalEnter();
|
||||
TextureCache::Invalidate(false);
|
||||
CommandProcessor::FifoCriticalLeave();
|
||||
// No need to clear shader caches.
|
||||
PointerWrap p(ptr, mode);
|
||||
VideoCommon_DoState(p);
|
||||
|
|
Loading…
Reference in New Issue