mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
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:
parent
20e2046fe1
commit
888cd78724
8 changed files with 376 additions and 131 deletions
|
@ -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.
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue