Skip to content

Commit

Permalink
SCUMM: Fix building when MAKE_LFLS isn't defined
Browse files Browse the repository at this point in the history
  • Loading branch information
einstein95 committed Sep 7, 2023
1 parent 6704a3e commit 3335ce3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion engines/scumm/extract_loom_tg16.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
3 changes: 3 additions & 0 deletions engines/scumm/extract_loom_tg16.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3335ce3

Please sign in to comment.