PGXP: Allocate large storage dynamically

This causes performance issues on ARM otherwise.
This commit is contained in:
Connor McLaughlin committed 2020-09-03 00:11:40 +10:00
1 parent 1b47e6e8cd
commit a2eaaf0e89
5 files changed
+83 -45

No files matched your search

@@ -1411,6 +1411,8 @@ void CommonHostInterface::RegisterGraphicsHotkeys()
if (g_settings.gpu_pgxp_enable)
PGXP::Initialize();
else
PGXP::Shutdown();
// we need to recompile all blocks if pgxp is toggled on/off
if (g_settings.IsUsingCodeCache())