Stub some cellSysutilAvc2 functions

This commit is contained in:
scribam 2017-07-24 21:25:52 +02:00 committed by Ivan
parent 1899f399b6
commit 173cc13d01

View File

@ -54,7 +54,8 @@ s32 cellSysutilAvc2SetVoiceMuting()
s32 cellSysutilAvc2StartVoiceDetection()
{
fmt::throw_exception("Unimplemented" HERE);
cellSysutilAvc2.todo("cellSysutilAvc2StartVoiceDetection()");
return CELL_OK;
}
s32 cellSysutilAvc2UnloadAsync()
@ -87,10 +88,10 @@ s32 cellSysutilAvc2SetWindowString()
fmt::throw_exception("Unimplemented" HERE);
}
s32 cellSysutilAvc2EstimateMemoryContainerSize()
s32 cellSysutilAvc2EstimateMemoryContainerSize(vm::cptr<CellSysutilAvc2InitParam> initparam, vm::ptr<u32> size)
{
UNIMPLEMENTED_FUNC(cellSysutilAvc2);
return CELL_OK;
cellSysutilAvc2.todo("cellSysutilAvc2EstimateMemoryContainerSize(initparam=*0x%x, size=*0x%x)", initparam, size);
return CELL_OK;
}
s32 cellSysutilAvc2SetVideoMuting()
@ -130,9 +131,10 @@ s32 cellSysutilAvc2GetSpeakerVolumeLevel()
s32 cellSysutilAvc2IsCameraAttached(vm::ptr<u8> status)
{
cellSysutilAvc2.todo("cellSysutilAvc2IsCameraAttached()");
cellSysutilAvc2.todo("cellSysutilAvc2IsCameraAttached(status=*0x%x)", status);
*status = CELL_AVC2_CAMERA_STATUS_DETACHED;
return CELL_OK;
}
@ -273,14 +275,16 @@ s32 cellSysutilAvc2SetSpeakerMuting()
fmt::throw_exception("Unimplemented" HERE);
}
s32 cellSysutilAvc2Load()
s32 cellSysutilAvc2Load(SceNpMatching2ContextId ctx_id, u32 container, vm::ptr<CellSysutilAvc2Callback> callback_func, vm::ptr<void> user_data, vm::cptr<CellSysutilAvc2InitParam> init_param)
{
fmt::throw_exception("Unimplemented" HERE);
cellSysutilAvc2.todo("cellSysutilAvc2Load(ctx_id=0x%x, container=0x%x, callback_func=*0x%x, user_data=*0x%x, init_param=*0x%x)", ctx_id, container, callback_func, user_data, init_param);
return CELL_OK;
}
s32 cellSysutilAvc2SetAttribute()
s32 cellSysutilAvc2SetAttribute(vm::cptr<CellSysutilAvc2Attribute> attr)
{
fmt::throw_exception("Unimplemented" HERE);
cellSysutilAvc2.todo("cellSysutilAvc2SetAttribute(attr=*0x%x)", attr);
return CELL_OK;
}
s32 cellSysutilAvc2UnloadAsync2()
@ -303,10 +307,13 @@ s32 cellSysutilAvc2HideWindow()
fmt::throw_exception("Unimplemented" HERE);
}
s32 cellSysutilAvc2GetVoiceMuting()
s32 cellSysutilAvc2GetVoiceMuting(vm::ptr<u8> muting)
{
UNIMPLEMENTED_FUNC(cellSysutilAvc2);
return CELL_OK;
cellSysutilAvc2.todo("cellSysutilAvc2GetVoiceMuting(muting=*0x%x)", muting);
*muting = 1;
return CELL_OK;
}
s32 cellSysutilAvc2GetScreenShowStatus()