Log In  
Log In  

@zep
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... :)

P.S.
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

[Please log in to post a comment]

X
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-03-22 21:03 | 0.011s | 2097k | Q:13