State saving progress. Most core state seems to be saved/loaded correctly, not so for video yet unfortunately.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@386 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2008-08-30 16:05:32 +00:00
parent 95eb8f9ef3
commit 4608333a56
11 changed files with 159 additions and 42 deletions

View File

@ -179,7 +179,7 @@ void VShaderCache::Cleanup()
for (VSCache::iterator iter=vshaders.begin(); iter!=vshaders.end();iter++)
{
VSCacheEntry &entry = iter->second;
if (entry.frameCount<frameCount-30)
if (entry.frameCount < frameCount - 30)
{
entry.Destroy();
iter = vshaders.erase(iter);