Add Lost In Time demo.
svn-id: r28580
This commit is contained in:
parent
f3158075bb
commit
7e2390deb9
2 changed files with 24 additions and 0 deletions
|
@ -68,6 +68,15 @@ void Init::initGame(const char *totName) {
|
|||
|
||||
initVideo();
|
||||
|
||||
// The Lost In Time demo uses different file prefix
|
||||
if (_vm->getGameType() == kGameTypeLostInTime) {
|
||||
handle2 = _vm->_dataIO->openData("demo.stk");
|
||||
if (handle2 >= 0) {
|
||||
_vm->_dataIO->closeData(handle2);
|
||||
_vm->_dataIO->openDataFile("demo.stk");
|
||||
}
|
||||
}
|
||||
|
||||
handle2 = _vm->_dataIO->openData("intro.stk");
|
||||
if (handle2 >= 0) {
|
||||
_vm->_dataIO->closeData(handle2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue