[Scummvm-git-logs] scummvm master -> 710fb685633c3e6b2976469887cce82cc1d2dbfe
bluegr
noreply at scummvm.org
Thu Nov 20 23:07:20 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
710fb68563 TOON: Load subtitles by base file name
Commit: 710fb685633c3e6b2976469887cce82cc1d2dbfe
https://github.com/scummvm/scummvm/commit/710fb685633c3e6b2976469887cce82cc1d2dbfe
Author: BLooperZ (blooperz at users.noreply.github.com)
Date: 2025-11-21T01:07:16+02:00
Commit Message:
TOON: Load subtitles by base file name
Changed paths:
engines/toon/subtitles.cpp
diff --git a/engines/toon/subtitles.cpp b/engines/toon/subtitles.cpp
index 012d6e9a1db..ecce25d05d5 100644
--- a/engines/toon/subtitles.cpp
+++ b/engines/toon/subtitles.cpp
@@ -82,7 +82,7 @@ bool SubtitleRenderer::load(const Common::Path &video) {
Common::String ext("tss");
subfile.replace(subfile.size() - ext.size(), ext.size(), ext);
- Common::ScopedPtr<Common::SeekableReadStream> subsStream(_vm->resources()->openFile(video.getParent().appendComponent(subfile)));
+ Common::ScopedPtr<Common::SeekableReadStream> subsStream(_vm->resources()->openFile(Common::Path(subfile)));
if (subsStream == nullptr) {
return false;
}
More information about the Scummvm-git-logs
mailing list