Skip to content

Commit 3335ce3

Browse files
committed
SCUMM: Fix building when MAKE_LFLS isn't defined
1 parent 6704a3e commit 3335ce3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

engines/scumm/extract_loom_tg16.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ struct _index {
11771177
uint32 sound_addr[NUM_SOUNDS];
11781178
} lfl_index;
11791179
#else // !MAKE_LFLS
1180-
void dump_resource (Common::File &input, const char *fn_template, int num, p_resource res) {
1180+
void ExtractLoomTG16::dump_resource (Common::File &input, const char *fn_template, int num, p_resource res) {
11811181
char fname[256];
11821182
sprintf(fname, fn_template, num);
11831183
Common::File output(fname, "wb");

engines/scumm/extract_loom_tg16.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ class ExtractLoomTG16 : public Tool {
3838
protected:
3939

4040
void extract_resource(Common::File &input, Common::File &output, p_resource res);
41+
#ifndef MAKE_LFLS
42+
void dump_resource(Common::File &input, const char *fn_template, int num, p_resource res);
43+
#endif
4144
};
4245

4346
#endif

0 commit comments

Comments
 (0)