mirror of
https://github.com/libretro/Mesen.git
synced 2024-11-23 09:09:45 +00:00
Cleanups
This commit is contained in:
parent
29ed368fce
commit
abea8949a1
@ -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++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user