mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 23:25:41 +00:00
GPU: Implement GP1(00h)
This commit is contained in:
parent
45bfcc8225
commit
254c668d7e
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue