Skip to content

Commit f4081af

Browse files
committed
thmsg: Add support for th15
Issue #3 Same as th14.
1 parent df8dbae commit f4081af

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

thmsg.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ print_usage(void)
4848
" V display version information and exit\n"
4949
"OPTION can be:\n"
5050
" e extract or create ending dialogue\n"
51-
" # # can be 6, 7, 8, 9, 95, 10, 11, 12, 125, 128, 13, 14, 143 (required)\n"
51+
" # # can be 6, 7, 8, 9, 95, 10, 11, 12, 125, 128, 13, 14, 143, 15 (required)\n"
5252
"Report bugs to <" PACKAGE_BUGREPORT ">.\n", argv0);
5353
}
5454

@@ -85,6 +85,7 @@ main(int argc, char* argv[])
8585
case 13:
8686
case 14:
8787
case 143:
88+
case 15:
8889
module = &th06_msg;
8990
break;
9091
case 95:

thmsg06.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,15 @@ th06_find_format(unsigned int version, int id)
215215
case 128:
216216
case 13:
217217
case 14:
218+
case 15:
218219
return find_format(th10_msg_ed_fmts, id);
219220
default:
220221
fprintf(stderr, "%s: id %d was not found in the format table\n", argv0, id);
221222
return NULL;
222223
}
223224
} else {
224225
switch (version) {
226+
case 15:
225227
case 143:
226228
if (!ret) ret = find_format(th143_msg_fmts, id);
227229
case 14:

0 commit comments

Comments
 (0)