Skip to content

Conversation

@sotpapathe
Copy link
Contributor

I found no other way to get the currently set callback and its data so I implemented this. I also added the volume getter for completeness.

sotpapathe added a commit to sotpapathe/Super-Haxagon that referenced this pull request Oct 1, 2025
TODO: Will become unnecessary once
pspdev/pspsdk#330 is merged.

This ensures that any de-initialization of the old Music object (e.g.
de-registering callbacks) happens before initializing the new Music
object. This is helpful for the upcoming PSP driver.

TODO: Does this break other drivers? Use the blocking API instead if
that's the case This will complicate the driver.
sotpapathe added a commit to sotpapathe/Super-Haxagon that referenced this pull request Oct 10, 2025
TODO: Will become unnecessary once
pspdev/pspsdk#330 is merged.

This ensures that any de-initialization of the old Music object (e.g.
de-registering callbacks) happens before initializing the new Music
object. This is helpful for the upcoming PSP driver.

TODO: Does this break other drivers? Use the blocking API instead if
that's the case This will complicate the driver.
Copy link
Member

@sharkwouter sharkwouter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, thanks! Sorry it took me a while to get to this one.

@sharkwouter sharkwouter merged commit 6c09d35 into pspdev:master Oct 12, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants