mirror of https://github.com/PCSX2/pcsx2.git
mtgs: fix pesky assert on gs init
This commit is contained in:
parent
25af4de320
commit
06da3a1359
|
@ -211,7 +211,7 @@ void SysMtgsThread::OpenGS()
|
||||||
GSsetBaseMem(RingBuffer.Regs);
|
GSsetBaseMem(RingBuffer.Regs);
|
||||||
GSirqCallback(dummyIrqCallback);
|
GSirqCallback(dummyIrqCallback);
|
||||||
|
|
||||||
pxAssert(GSopen2((void**)pDsp, 1 | (renderswitch ? 4 : 0)) != 0);
|
pxAssertMsg((GSopen2((void**)pDsp, 1 | (renderswitch ? 4 : 0)) == 0), "GS failed to open!");
|
||||||
|
|
||||||
GSsetVsync(EmuConfig.GS.GetVsync());
|
GSsetVsync(EmuConfig.GS.GetVsync());
|
||||||
|
|
||||||
|
|
|
@ -419,7 +419,7 @@ namespace Implementations
|
||||||
GSfreeze(FREEZE_LOAD, &fP);
|
GSfreeze(FREEZE_LOAD, &fP);
|
||||||
}
|
}
|
||||||
renderswitch = !renderswitch;
|
renderswitch = !renderswitch;
|
||||||
GSopen2((void**)pDsp, (renderswitch << 24));
|
GSopen2((void**)pDsp, (renderswitch ? 4 : 0));
|
||||||
renderswitch_delay = -1;
|
renderswitch_delay = -1;
|
||||||
delete[] fP.data;
|
delete[] fP.data;
|
||||||
paused_core.AllowResume();
|
paused_core.AllowResume();
|
||||||
|
|
Loading…
Reference in New Issue