Commit 427281b
libmodplug: 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/libmodplug#51
See also:
#123
https://github.com/AliceLR/megazeux/blob/f83d897dc7df808ed4ad3eb31b5abb6a7b479d08/contrib/patches/libmodplug/01-libmodplug-0.8.9.0-fix-looping.diff
Mainstream pull request: Konstanty/libmodplug#102
Fixes: #123.1 parent d71362c commit 427281b
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| |||
0 commit comments