Skip to content

Commit

Permalink
GSDumpReplayer: Fix widescreen patch crashing
Browse files Browse the repository at this point in the history
Fixes a regression which caused PCSX2 to crash if you loaded a dump with widescreen patches enabled.
  • Loading branch information
JordanTheToaster authored and lightningterror committed Mar 7, 2023
1 parent 6c093fc commit 6dfb02c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pcsx2/R5900.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ void cpuReset()
if (GetMTGS().IsOpen())
GetMTGS().WaitGS(); // GS better be done processing before we reset the EE, just in case.

if (!GSDumpReplayer::IsReplayingDump())
GetVmMemory().Reset();
GetVmMemory().Reset();

memzero(cpuRegs);
memzero(fpuRegs);
Expand Down

0 comments on commit 6dfb02c

Please sign in to comment.