Skip to content

Commit

Permalink
COMPOSER: Fix error when starting games
Browse files Browse the repository at this point in the history
This is a regression from commit bbc4d51
criezy committed Dec 4, 2024
1 parent 1f41925 commit d573ba4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engines/composer/composer.cpp
Original file line number Diff line number Diff line change
@@ -406,6 +406,7 @@ void ComposerEngine::loadLibrary(uint id) {
// bookGroup is the basename of the path.
// TODO: tidy this up.
_bookGroup.clear();
filename = path.toString('/');
for (uint i = 0; i < filename.size(); i++) {
if (filename[i] == '~' || filename[i] == '/' || filename[i] == ':')
continue;

0 comments on commit d573ba4

Please sign in to comment.