MCPcopy Create free account
hub / github.com/RPCSX/rpcsx / cellMusicDecodeGetSelectionContext2

Function cellMusicDecodeGetSelectionContext2

ps3fw/cellMusicDecode.cpp:599–613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597}
598
599error_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
615error_code cellMusicDecodeSetSelectionContext2(vm::ptr<CellMusicSelectionContext> context)
616{

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected