VideoDecoder: Prevent reading invalid memory when stopping emulation before a full frame is decoded
This commit is contained in:
parent
a55fbaa619
commit
3cade69191
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ void VideoDecoder::StopThread()
|
||||||
}
|
}
|
||||||
DecodeFrame();
|
DecodeFrame();
|
||||||
}
|
}
|
||||||
|
_ppuOutputBuffer = nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue