Commit 7496a66
Fix mLoopCount global setting.
The module repeat count is supposed to be configured via mLoopCount
in the Modplug global settings. Setting this to a negative value
is supposed to enable looping forever (what game engines are most
likely to expect), but for some reason, this feature was *deliberately
broken* despite the default being 0. There's no reason for this to
be commented out.
Fixes Konstanty#51
See also:
icculus/SDL_sound#123
https://github.com/AliceLR/megazeux/blob/f83d897dc7df808ed4ad3eb31b5abb6a7b479d08/contrib/patches/libmodplug/01-libmodplug-0.8.9.0-fix-looping.diff
Mainstream pull request: Konstanty#1021 parent 4af4b98 commit 7496a66
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | | - | |
| 363 | + | |
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
396 | | - | |
| 396 | + | |
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
| |||
0 commit comments