gs: make sure the gs panel handler is opened when needed

This commit is contained in:
Gauvain 'GovanifY' Roussel-Tarbouriech 2021-06-15 18:21:29 +02:00 committed by Kojin
parent 44026aa899
commit b5f50f283c
1 changed files with 2 additions and 0 deletions

View File

@ -242,6 +242,8 @@ void SysMtgsThread::OpenGS()
if (m_Opened)
return;
sApp.OpenGsPanel();
memcpy(RingBuffer.Regs, PS2MEM_GS, sizeof(PS2MEM_GS));
GSsetBaseMem(RingBuffer.Regs);
GSirqCallback(dummyIrqCallback);