Skip to content

Commit

Permalink
- fixed MOD playback with DUMB 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk authored and emileb committed Mar 6, 2021
1 parent ae7f26c commit a580e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prboom2/src/MUSIC/dumbplayer.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ static const void* db_registersong (const void *data, unsigned len)
dumbfile_close (dfil);
dfil = dumbfile_open_memory ((const char*)data, len);
#if (DUMB_MAJOR_VERSION >= 1)
duh = dumb_read_mod_quick (dfil, DUMB_MOD_RESTRICT_OLD_PATTERN_COUNT);
duh = dumb_read_mod_quick (dfil, 0);
#else
duh = dumb_read_mod_quick (dfil);
#endif
Expand Down

0 comments on commit a580e6e

Please sign in to comment.