| 597 | } |
| 598 | |
| 599 | error_code cellMusicDecodeGetSelectionContext2(vm::ptr<CellMusicSelectionContext> context) |
| 600 | { |
| 601 | cellMusicDecode.todo("cellMusicDecodeGetSelectionContext2(context=*0x%x)", context); |
| 602 | |
| 603 | if (!context) |
| 604 | return CELL_MUSIC_DECODE_ERROR_PARAM; |
| 605 | |
| 606 | auto& dec = g_fxo->get<music_decode2>(); |
| 607 | std::lock_guard lock(dec.mutex); |
| 608 | |
| 609 | *context = dec.current_selection_context.get(); |
| 610 | cellMusicDecode.warning("cellMusicDecodeGetSelectionContext2: selection context = %s)", dec.current_selection_context.to_string()); |
| 611 | |
| 612 | return CELL_OK; |
| 613 | } |
| 614 | |
| 615 | error_code cellMusicDecodeSetSelectionContext2(vm::ptr<CellMusicSelectionContext> context) |
| 616 | { |