mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
DRAGONS: Quit game after playing end credits. #11611
This commit is contained in:
parent
ef8b909fea
commit
70a191ae0a
@ -79,7 +79,7 @@ void Credits::update() {
|
||||
_updateCounter = 2;
|
||||
_yOffset = (_yOffset + 1) % 208;
|
||||
if (_yOffset % 8 == 0) {
|
||||
if (_curPosition <= _dataLength) {
|
||||
if (_curPosition < _dataLength) {
|
||||
uint32 length = strlen(_curPtr);
|
||||
debug(3, "Credit line: %s", _curPtr);
|
||||
convertToWideChar(line, (byte *)_curPtr, 40);
|
||||
|
@ -1179,7 +1179,10 @@ void SpecialOpcodes::spcEndCreditsAndRestartGame() {
|
||||
}
|
||||
// ReloadGameFlag = 2;
|
||||
// Exec_FMV_RELOADTT();
|
||||
//TODO need to return to main menu here.
|
||||
|
||||
_vm->waitForFrames(100);
|
||||
|
||||
Dragons::DragonsEngine::quitGame();
|
||||
}
|
||||
|
||||
void SpecialOpcodes::spcLoadLadyOfTheLakeActor() {
|
||||
|
Loading…
Reference in New Issue
Block a user