mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
more statesave bugfixes...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@387 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
4608333a56
commit
e4825be7a8
7 changed files with 14 additions and 5 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue