Changes to hi-res textures. Textures now load correctly when loading/saving a savestate, and can be toggled on and off in game.

Changed non-hi-res textures to use MurmurHash3, which has better performance that the previous hash.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7080 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
baby.lueshi 2011-02-05 10:08:06 +00:00
commit 888cd78724
8 changed files with 376 additions and 131 deletions

View file

@ -2,6 +2,7 @@
#include "VideoConfigDiag.h"
#include "FileUtil.h"
#include "TextureCacheBase.h"
#include <wx/intl.h>
@ -58,6 +59,8 @@ void VideoConfigDiag::Event_Close(wxCloseEvent& ev)
g_Config.Save((File::GetUserPath(D_CONFIG_IDX) + ininame + ".ini").c_str());
ev.Skip();
TextureCache::Invalidate(false); // For settings like hi-res textures/texture format/etc.
}