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