Fixed screenshots not being saved when playing a rom stored inside a zip/7z file

This commit is contained in:
Sour 2018-12-09 10:48:56 -05:00
parent c901226f8c
commit 70a0389b2c

View file

@ -232,7 +232,7 @@ bool VideoDecoder::IsRunning()
void VideoDecoder::TakeScreenshot()
{
if(_videoFilter) {
_videoFilter->TakeScreenshot(_console->GetRomPath(), _videoFilterType);
_videoFilter->TakeScreenshot(_console->GetRomPath().GetFileName(), _videoFilterType);
}
}