GPU: Support replacing VRAM writes with new textures
This commit is contained in:
@ -27,6 +27,7 @@
|
||||
#include "save_state_version.h"
|
||||
#include "sio.h"
|
||||
#include "spu.h"
|
||||
#include "texture_replacements.h"
|
||||
#include "timers.h"
|
||||
#include <cctype>
|
||||
#include <cstdio>
|
||||
@ -770,6 +771,8 @@ void Shutdown()
|
||||
if (s_state == State::Shutdown)
|
||||
return;
|
||||
|
||||
g_texture_replacements.Shutdown();
|
||||
|
||||
g_sio.Shutdown();
|
||||
g_mdec.Shutdown();
|
||||
g_spu.Shutdown();
|
||||
@ -1691,6 +1694,8 @@ void UpdateRunningGame(const char* path, CDImage* image)
|
||||
s_running_game_code.c_str(), s_running_game_title.c_str());
|
||||
}
|
||||
|
||||
g_texture_replacements.SetGameID(s_running_game_code);
|
||||
|
||||
g_host_interface->OnRunningGameChanged();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user