[Scummvm-git-logs] scummvm master -> fcd2936d851042a0fb59065aa7159a681edc0509

whiterandrek noreply at scummvm.org
Thu Feb 10 18:45:10 UTC 2022


This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
6df876edca PETKA: add Support Subtitle Options feature
fcd2936d85 PETKA: fix first text render after sequence start


Commit: 6df876edca96f008e91ee6314d0e9cd00ec5f290
    https://github.com/scummvm/scummvm/commit/6df876edca96f008e91ee6314d0e9cd00ec5f290
Author: Andrei Prykhodko (whiterandrek at gmail.com)
Date: 2022-02-10T20:45:05+02:00

Commit Message:
PETKA: add Support Subtitle Options feature

Changed paths:
    engines/petka/petka.cpp


diff --git a/engines/petka/petka.cpp b/engines/petka/petka.cpp
index d39dd35c8e0..1c9fb5c6872 100644
--- a/engines/petka/petka.cpp
+++ b/engines/petka/petka.cpp
@@ -363,7 +363,8 @@ bool PetkaEngine::hasFeature(EngineFeature f) const {
 		f == kSupportsReturnToLauncher ||
 		f == kSupportsLoadingDuringRuntime ||
 		f == kSupportsSavingDuringRuntime ||
-		f == kSupportsChangingOptionsDuringRuntime;
+		f == kSupportsChangingOptionsDuringRuntime ||
+		f == kSupportsSubtitleOptions;
 }
 
 void PetkaEngine::pauseEngineIntern(bool pause) {


Commit: fcd2936d851042a0fb59065aa7159a681edc0509
    https://github.com/scummvm/scummvm/commit/fcd2936d851042a0fb59065aa7159a681edc0509
Author: Andrei Prykhodko (whiterandrek at gmail.com)
Date: 2022-02-10T20:45:05+02:00

Commit Message:
PETKA: fix first text render after sequence start

Changed paths:
    engines/petka/interfaces/sequence.cpp


diff --git a/engines/petka/interfaces/sequence.cpp b/engines/petka/interfaces/sequence.cpp
index 87ec8fd2c9f..5b0b6a1822b 100644
--- a/engines/petka/interfaces/sequence.cpp
+++ b/engines/petka/interfaces/sequence.cpp
@@ -38,6 +38,9 @@ InterfaceSequence::InterfaceSequence() {
 }
 
 void InterfaceSequence::start(int id) {
+	// original bug fix
+	g_vm->getQSystem()->_mainInterface->removeTexts();
+
 	removeObjects();
 
 	g_system->getMixer()->pauseAll(true);




More information about the Scummvm-git-logs mailing list