From 7820658e1f69c5c451563e3e1f58a6e375abe7bc Mon Sep 17 00:00:00 2001 From: RSDuck Date: Thu, 13 Apr 2023 23:15:22 +0200 Subject: [PATCH] fix bad indirect call --- src/GPU2D_Soft.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GPU2D_Soft.cpp b/src/GPU2D_Soft.cpp index 070079a3..cba067ae 100644 --- a/src/GPU2D_Soft.cpp +++ b/src/GPU2D_Soft.cpp @@ -367,7 +367,7 @@ void SoftRenderer::VBlankEnd(Unit* unitA, Unit* unitB) { if ((unitA->CaptureCnt & (1<<31)) && (((unitA->CaptureCnt >> 29) & 0x3) != 1)) { - reinterpret_cast(GPU3D::CurrentRenderer.get())->PrepareCaptureFrame(); + GPU3D::CurrentRenderer.get()->PrepareCaptureFrame(); } } #endif