GPU: Cancel VRAM writes on Reset

This commit is contained in:
Stenzek
2024-05-31 19:48:44 +10:00
parent d013438810
commit 53600746c7
2 changed files with 5 additions and 2 deletions

View File

@ -232,11 +232,11 @@ bool GPU_HW::Initialize()
void GPU_HW::Reset(bool clear_vram)
{
GPU::Reset(clear_vram);
if (m_batch_vertex_ptr)
UnmapGPUBuffer(0, 0);
GPU::Reset(clear_vram);
if (m_sw_renderer)
m_sw_renderer->Reset();