From 254c668d7e857e3a61c93b7eda6fc2a71b2b1645 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Tue, 15 Oct 2019 22:36:26 +1000 Subject: [PATCH] GPU: Implement GP1(00h) --- src/core/gpu.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/core/gpu.cpp b/src/core/gpu.cpp index 8224128cc..05d264b0c 100644 --- a/src/core/gpu.cpp +++ b/src/core/gpu.cpp @@ -573,10 +573,17 @@ void GPU::WriteGP1(u32 value) const u32 param = value & UINT32_C(0x00FFFFFF); switch (command) { + case 0x00: // Reset GPU + { + Log_DebugPrintf("GP1 reset GPU"); + SoftReset(); + } + break; + case 0x01: // Clear FIFO { - m_GP0_buffer.clear(); Log_DebugPrintf("GP1 clear FIFO"); + m_GP0_buffer.clear(); UpdateGPUSTAT(); } break;