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

Function cellMusicDecodeGetSelectionContext

ps3fw/cellMusicDecode.cpp:412–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412error_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
428error_code cellMusicDecodeSetSelectionContext(vm::ptr<CellMusicSelectionContext> context)
429{

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected