PGXP: Allocate large storage dynamically

This causes performance issues on ARM otherwise.
This commit is contained in:
Connor McLaughlin
2020-09-02 22:44:52 +10:00
parent 1b47e6e8cd
commit a2eaaf0e89
5 changed files with 83 additions and 45 deletions

View File

@ -61,6 +61,7 @@ void Initialize()
void Shutdown()
{
// GTE::Shutdown();
PGXP::Shutdown();
}
void Reset()
@ -128,7 +129,8 @@ bool DoState(StateWrapper& sw)
if (sw.IsReading())
{
ClearICache();
PGXP::Initialize();
if (g_settings.gpu_pgxp_enable)
PGXP::Initialize();
}
return !sw.HasError();