TOLTECS: Migrate engine to Path

This commit is contained in:
Le Philousophe 2023-12-23 11:31:47 +01:00 committed by Eugene Sandulenko
parent da5f81d151
commit 7d05b38654

View File

@ -64,7 +64,7 @@ void ArchiveReader::dump(uint resIndex) {
int32 resourceSize = getResourceSize(resIndex);
byte *data = new byte[resourceSize];
Common::String fn = Common::String::format("toltecs_res.%03d", resIndex);
Common::Path fn(Common::String::format("toltecs_res.%03d", resIndex));
openResource(resIndex);
read(data, resourceSize);