This commit is contained in:
twinaphex 2022-04-07 08:49:11 +02:00
parent 29ed368fce
commit abea8949a1
2 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ void VideoDecoder::UpdateVideoFilter()
} }
} }
void VideoDecoder::DecodeFrame(bool synchronous) void VideoDecoder::DecodeFrame()
{ {
UpdateVideoFilter(); UpdateVideoFilter();
@ -126,7 +126,7 @@ void VideoDecoder::UpdateFrameSync(void *ppuOutputBuffer, HdScreenInfo *hdScreen
_frameNumber = _console->GetFrameCount(); _frameNumber = _console->GetFrameCount();
_hdScreenInfo = hdScreenInfo; _hdScreenInfo = hdScreenInfo;
_ppuOutputBuffer = (uint16_t*)ppuOutputBuffer; _ppuOutputBuffer = (uint16_t*)ppuOutputBuffer;
DecodeFrame(true); DecodeFrame();
_frameCount++; _frameCount++;
} }

View File

@ -42,7 +42,7 @@ public:
VideoDecoder(shared_ptr<Console> console); VideoDecoder(shared_ptr<Console> console);
~VideoDecoder(); ~VideoDecoder();
void DecodeFrame(bool synchronous = false); void DecodeFrame();
uint32_t GetFrameCount(); uint32_t GetFrameCount();