Commit 1ae5a4f
committed
[TMP] Destroy old Music object before creating new one
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.1 parent af5d02f commit 1ae5a4f
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
99 | 102 | | |
100 | 103 | | |
101 | 104 | | |
| |||
113 | 116 | | |
114 | 117 | | |
115 | 118 | | |
116 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
117 | 122 | | |
118 | 123 | | |
119 | 124 | | |
| |||
0 commit comments