Log In  

I'm pretty sure this is a bug... shouldn't stat(24) return -1 when no music is playing (like all the other music/sfx stats which use -1 to indicate nothing is playing)? Instead it returns 0, which makes it impossible to differentiate from when music pattern 0 is actually playing :O

(There is technically a workaround, i.e. other stats can be used to check the current note numbers on the channels, which return -1 when nothing is playing, which I am using for now, but this really feels like it should not be necessary... :)

Thank you for adding those new music pattern-related stat numbers recently! They are very useful and I am getting a lot of benefit from them in my current project :D

P#49836 2018-03-01 12:03 ( Edited 2018-03-08 01:15)

I just bumped into this one now myself. It'd be great if stat(24) returned -1 when no music is playing!

P#61364 2019-01-30 20:32

Fixed in 0.1.12:

Changed: stat 24..26 return -1 when no music is playing
P#63438 2019-04-12 08:48


P#63450 2019-04-12 14:41

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2023-03-22 16:51:57 | 0.005s | Q:11