[Scummvm-git-logs] scummvm-tools master -> c8dc8366867eee0718fd0acfd376803304aaf251
sev-
noreply at scummvm.org
Sat Oct 22 19:01:29 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-tools' repo located at https://github.com/scummvm/scummvm-tools .
Summary:
c8dc836686 SCUMM: Fix building extract_mm_nes with !MAKE_LFLS
Commit: c8dc8366867eee0718fd0acfd376803304aaf251
https://github.com/scummvm/scummvm-tools/commit/c8dc8366867eee0718fd0acfd376803304aaf251
Author: eientei (einstein95 at users.noreply.github.com)
Date: 2022-10-22T21:01:27+02:00
Commit Message:
SCUMM: Fix building extract_mm_nes with !MAKE_LFLS
Changed paths:
engines/scumm/extract_mm_nes.cpp
diff --git a/engines/scumm/extract_mm_nes.cpp b/engines/scumm/extract_mm_nes.cpp
index 2fd41688..e1978259 100644
--- a/engines/scumm/extract_mm_nes.cpp
+++ b/engines/scumm/extract_mm_nes.cpp
@@ -1197,10 +1197,12 @@ struct t_lflindex {
#include "common/pack-end.h" /* END STRUCT PACKING */
#else /* !MAKE_LFLS */
-void ExtractMMNES::dump_resource (Common::File &input, const char *fn_template, int num, const struct t_resource *res, res_type type) {
+void ExtractMMNes::dump_resource (Common::File &input, const char *fn_template, int num, const struct t_resource *res, res_type type) {
char fname[256];
sprintf(fname, fn_template, num);
- Common::File output(fname, "wb");
+ Common::Filename &outpath = _outputPath;
+ outpath.setFullName(fname);
+ Common::File output(outpath, "wb");
print("Extracting resource to %s", fname);
extract_resource(input, output, res, type);
}
More information about the Scummvm-git-logs
mailing list