mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-03 08:40:59 +00:00
MOHAWK: Myst, display a warning when trying to play a movie backwards.
svn-id: r55656
This commit is contained in:
parent
3cd1ac9ca6
commit
b43fae5c18
@ -184,8 +184,6 @@ MystResourceType6::MystResourceType6(MohawkEngine_Myst *vm, Common::SeekableRead
|
||||
if (_top < 0)
|
||||
_top = 0;
|
||||
|
||||
if (_direction != 1)
|
||||
warning("Type 6 _u0 != 1");
|
||||
if (_u3 != 0)
|
||||
warning("Type 6 _u3 != 0");
|
||||
|
||||
@ -203,6 +201,9 @@ VideoHandle MystResourceType6::playMovie() {
|
||||
// Check if the video is already running
|
||||
VideoHandle handle = _vm->_video->findVideoHandle(_videoFile);
|
||||
|
||||
if (_direction != 1)
|
||||
warning("Playing QT movies backwards is not implemented");
|
||||
|
||||
// If the video is not running, play it
|
||||
if (handle == NULL_VID_HANDLE || _vm->_video->endOfVideo(handle)) {
|
||||
if (_playBlocking) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user