mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 19:32:11 +00:00
EMI: Hide subtitle when stopping movie playback
This commit is contained in:
parent
1891f4c9a4
commit
4a87ea3962
@ -52,6 +52,11 @@ bool BinkPlayer::bikCheck(Common::SeekableReadStream *stream, uint32 pos) {
|
|||||||
return (tag & 0xFFFFFF00) == MKTAG('B', 'I', 'K', 0);
|
return (tag & 0xFFFFFF00) == MKTAG('B', 'I', 'K', 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void BinkPlayer::deinit() {
|
||||||
|
g_grim->setMovieSubtitle(NULL);
|
||||||
|
MoviePlayer::deinit();
|
||||||
|
}
|
||||||
|
|
||||||
void BinkPlayer::handleFrame() {
|
void BinkPlayer::handleFrame() {
|
||||||
MoviePlayer::handleFrame();
|
MoviePlayer::handleFrame();
|
||||||
|
|
||||||
|
@ -49,6 +49,7 @@ private:
|
|||||||
bool loadFile(const Common::String &filename);
|
bool loadFile(const Common::String &filename);
|
||||||
bool _demo;
|
bool _demo;
|
||||||
bool bikCheck(Common::SeekableReadStream *stream, uint32 pos);
|
bool bikCheck(Common::SeekableReadStream *stream, uint32 pos);
|
||||||
|
virtual void deinit() override;
|
||||||
virtual void handleFrame();
|
virtual void handleFrame();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user