fix bad indirect call

This commit is contained in:
RSDuck 2023-04-13 23:15:22 +02:00
parent 5984c78588
commit 7820658e1f

View File

@ -367,7 +367,7 @@ void SoftRenderer::VBlankEnd(Unit* unitA, Unit* unitB)
{
if ((unitA->CaptureCnt & (1<<31)) && (((unitA->CaptureCnt >> 29) & 0x3) != 1))
{
reinterpret_cast<GPU3D::GLRenderer*>(GPU3D::CurrentRenderer.get())->PrepareCaptureFrame();
GPU3D::CurrentRenderer.get()->PrepareCaptureFrame();
}
}
#endif