| 410 | } |
| 411 | |
| 412 | error_code cellMusicDecodeGetSelectionContext(vm::ptr<CellMusicSelectionContext> context) |
| 413 | { |
| 414 | cellMusicDecode.todo("cellMusicDecodeGetSelectionContext(context=*0x%x)", context); |
| 415 | |
| 416 | if (!context) |
| 417 | return CELL_MUSIC_DECODE_ERROR_PARAM; |
| 418 | |
| 419 | auto& dec = g_fxo->get<music_decode>(); |
| 420 | std::lock_guard lock(dec.mutex); |
| 421 | |
| 422 | *context = dec.current_selection_context.get(); |
| 423 | cellMusicDecode.warning("cellMusicDecodeGetSelectionContext: selection_context = %s", dec.current_selection_context.to_string()); |
| 424 | |
| 425 | return CELL_OK; |
| 426 | } |
| 427 | |
| 428 | error_code cellMusicDecodeSetSelectionContext(vm::ptr<CellMusicSelectionContext> context) |
| 429 | { |