mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 15:36:26 +00:00
cellMusic: make selection context valid when setting a playlist
This commit is contained in:
parent
22a1f41ecb
commit
b5dbafb3e2
5 changed files with 9 additions and 7 deletions
|
|
@ -556,7 +556,7 @@ error_code cellMusicSetPlaybackCommand2(s32 command, vm::ptr<void> param)
|
|||
auto& music = g_fxo->get<music_state>();
|
||||
|
||||
if (!music.func)
|
||||
return CELL_MUSIC2_ERROR_GENERIC;
|
||||
return { CELL_MUSIC2_ERROR_GENERIC, "Not initialized" };
|
||||
|
||||
error_code result = CELL_OK;
|
||||
|
||||
|
|
@ -585,7 +585,7 @@ error_code cellMusicSetPlaybackCommand(s32 command, vm::ptr<void> param)
|
|||
auto& music = g_fxo->get<music_state>();
|
||||
|
||||
if (!music.func)
|
||||
return CELL_MUSIC_ERROR_GENERIC;
|
||||
return { CELL_MUSIC_ERROR_GENERIC, "Not initialized" };
|
||||
|
||||
error_code result = CELL_OK;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue