diff --git a/assets/disk0/tvdos/bin/playmov.js b/assets/disk0/tvdos/bin/playmov.js index 9d3d4c7..668b676 100644 --- a/assets/disk0/tvdos/bin/playmov.js +++ b/assets/disk0/tvdos/bin/playmov.js @@ -47,7 +47,7 @@ let fps = seqread.readShort(); if (fps == 0) fps = 9999 const FRAME_TIME = 1.0 / fps const FRAME_COUNT = seqread.readInt() % 16777216 -const globalType = seqread.readShort() +seqread.readShort() // skip unused field const audioQueueInfo = seqread.readShort() const AUDIO_QUEUE_LENGTH = (audioQueueInfo >> 12) + 1 const AUDIO_QUEUE_BYTES = (audioQueueInfo & 0xFFF) << 2 @@ -62,10 +62,6 @@ let framesRendered = 0 printerrln("Not an iPF mov") return 1 }*/ -if (globalType != 255) { - printerrln(`Unsupported MOV type (${globalType})`) - return 1 -} let ipfbuf = sys.malloc(FBUF_SIZE) graphics.setGraphicsMode(4) diff --git a/terranmon.txt b/terranmon.txt index 4c867e7..3e14450 100644 --- a/terranmon.txt +++ b/terranmon.txt @@ -376,7 +376,7 @@ METADATA - uint16 HEIGHT uint16 FPS (0: play as fast as can) uint32 NUMBER OF FRAMES - uint16 GLOBAL PACKET TYPE (will be deprecated; please use 255,0) + uint16 UNUSED (fill with 255,0) uint16 AUDIO QUEUE INFO when read as little endian: 0b nnnn bbbb bbbb bbbb @@ -399,7 +399,6 @@ Packet Types - 18,0: Series of PNGs 20,0: Series of TGAs 21,0: Series of TGA/GZs - 255,0: Every frame specifies the type