PGXP: Further optimizations
Up to an 8% speed improvement in Racing Lagoon with CPU mode enabled.
This commit is contained in:
parent
a47686a313
commit
d3d92226a5
4 changed files with 116 additions and 360 deletions
|
|
@ -1050,7 +1050,7 @@ bool DoState(StateWrapper& sw, HostDisplayTexture** host_texture, bool update_di
|
|||
// only reset pgxp if we're not runahead-rollbacking. the value checks will save us from broken rendering, and it
|
||||
// saves using imprecise values for a frame in 30fps games.
|
||||
if (sw.IsReading() && g_settings.gpu_pgxp_enable && !is_memory_state)
|
||||
PGXP::Initialize();
|
||||
PGXP::Reset();
|
||||
|
||||
if (!sw.DoMarker("Bus") || !Bus::DoState(sw))
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue