Skip to content

Commit

Permalink
Accept WUZAMOD! Scream Tracker 2 modules
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Matsuoka <[email protected]>
  • Loading branch information
Claudio Matsuoka committed Jan 25, 2018
1 parent 9de2058 commit c5df8ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Stable versions
Other changes:
- fix double free in case of ADPCM sample load error
- code refactoring and cleanup
- accept WUZAMOD! Scream Tracker 2 modules

4.4.1 (20161012):
Fix issues reported by Saga Musix:
Expand Down
2 changes: 1 addition & 1 deletion src/loaders/stm_load.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static int stm_test(HIO_HANDLE * f, char *t, const int start)
hio_seek(f, start + 20, SEEK_SET);
if (hio_read(buf, 1, 8, f) < 8)
return -1;
if (memcmp(buf, "!Scream!", 8) && memcmp(buf, "BMOD2STM", 8))
if (memcmp(buf, "!Scream!", 8) && memcmp(buf, "BMOD2STM", 8) && memcmp(buf, "WUZAMOD!", 8))
return -1;

hio_read8(f);
Expand Down

0 comments on commit c5df8ec

Please sign in to comment.