mirror of https://github.com/PCSX2/pcsx2.git
GSDumpReplayer: Update serial on dump load
Fixes title and HW fixes not applying when dragging a new GS dump onto a running PCSX2.
This commit is contained in:
parent
31d02c1278
commit
c783fc0f59
|
@ -213,6 +213,9 @@ static void GSDumpReplayerLoadInitialState()
|
||||||
std::memcpy(PS2MEM_GS, s_dump_file->GetRegsData().data(),
|
std::memcpy(PS2MEM_GS, s_dump_file->GetRegsData().data(),
|
||||||
std::min(Ps2MemSize::GSregs, static_cast<u32>(s_dump_file->GetRegsData().size())));
|
std::min(Ps2MemSize::GSregs, static_cast<u32>(s_dump_file->GetRegsData().size())));
|
||||||
|
|
||||||
|
// update serial to load hw fixes
|
||||||
|
VMManager::Internal::GameStartingOnCPUThread();
|
||||||
|
|
||||||
// load GS state
|
// load GS state
|
||||||
freezeData fd = {static_cast<int>(s_dump_file->GetStateData().size()),
|
freezeData fd = {static_cast<int>(s_dump_file->GetStateData().size()),
|
||||||
const_cast<u8*>(s_dump_file->GetStateData().data())};
|
const_cast<u8*>(s_dump_file->GetStateData().data())};
|
||||||
|
|
Loading…
Reference in New Issue