more statesave bugfixes...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@387 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
1 parent
4608333a56
commit
e4825be7a8
7 files changed
+14
-5
No files matched your search
@@ -152,7 +152,7 @@ void DllConfig(HWND _hParent)
|
||||
|
||||
void Video_Initialize(SVideoInitialize* _pVideoInitialize)
|
||||
{
|
||||
if( _pVideoInitialize == NULL )
|
||||
if (_pVideoInitialize == NULL)
|
||||
return;
|
||||
|
||||
frameCount = 0;
|
||||
@@ -167,6 +167,9 @@ void Video_Initialize(SVideoInitialize* _pVideoInitialize)
|
||||
}
|
||||
|
||||
void Video_DoState(unsigned char **ptr, int mode) {
|
||||
// Clear all caches
|
||||
TextureCache::Invalidate();
|
||||
|
||||
PointerWrap p(ptr, mode);
|
||||
VideoCommon_DoState(p);
|
||||
//PanicAlert("Saving/Loading state from DirectX9");
|
||||
|
||||
Reference in new issue
Block a user