From 40319c37db873fa998fd5466013b1967336cc7b3 Mon Sep 17 00:00:00 2001 From: eientei Date: Mon, 11 Sep 2023 06:47:21 +1200 Subject: [PATCH] SCUMM: Fix building when MAKE_LFLS isn't defined --- engines/scumm/extract_loom_tg16.cpp | 2 +- engines/scumm/extract_loom_tg16.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/engines/scumm/extract_loom_tg16.cpp b/engines/scumm/extract_loom_tg16.cpp index e0beda9b..941dabf6 100644 --- a/engines/scumm/extract_loom_tg16.cpp +++ b/engines/scumm/extract_loom_tg16.cpp @@ -1177,7 +1177,7 @@ struct _index { uint32 sound_addr[NUM_SOUNDS]; } lfl_index; #else // !MAKE_LFLS -void dump_resource (Common::File &input, const char *fn_template, int num, p_resource res) { +void ExtractLoomTG16::dump_resource (Common::File &input, const char *fn_template, int num, p_resource res) { char fname[256]; sprintf(fname, fn_template, num); Common::File output(fname, "wb"); diff --git a/engines/scumm/extract_loom_tg16.h b/engines/scumm/extract_loom_tg16.h index 844053fa..a569af3a 100644 --- a/engines/scumm/extract_loom_tg16.h +++ b/engines/scumm/extract_loom_tg16.h @@ -38,6 +38,9 @@ class ExtractLoomTG16 : public Tool { protected: void extract_resource(Common::File &input, Common::File &output, p_resource res); +#ifndef MAKE_LFLS + void dump_resource(Common::File &input, const char *fn_template, int num, p_resource res); +#endif }; #endif