Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCUMM: Fix building when MAKE_LFLS isn't defined #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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