mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 02:32:36 +01:00
cellSysutilAvcExt: fix some params and size of long (the disassembly makes zero sense with s64)
This commit is contained in:
parent
6fa993645e
commit
fe1fa45956
@ -139,9 +139,9 @@ enum CellSysUtilAvcVoiceQuality : u32
|
||||
|
||||
struct CellSysutilAvcOptionParam
|
||||
{
|
||||
be_t<s64> avcOptionParamVersion;
|
||||
be_t<s32> avcOptionParamVersion;
|
||||
b8 sharingVideoBuffer;
|
||||
be_t<s64> maxPlayers; // Not in FW 1.70
|
||||
be_t<s32> maxPlayers; // Not in FW 1.70
|
||||
};
|
||||
|
||||
struct CellSysutilAvcVoiceDetectData
|
||||
|
@ -58,11 +58,9 @@ error_code cellSysutilAvcExtGetWindowShowStatus(vm::ptr<SceNpId> player_id, vm::
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellSysutilAvcExtSetChatMode(vm::ptr<CellSysutilAvcCallback> func, vm::ptr<void> userdata, sys_memory_container_t container,
|
||||
CellSysUtilAvcMediaType media, CellSysUtilAvcVideoQuality videoQuality, CellSysUtilAvcVoiceQuality voiceQuality, vm::ptr<CellSysutilAvcOptionParam> option, vm::ptr<CellSysutilAvcRequestId> request_id)
|
||||
error_code cellSysutilAvcExtSetChatMode(u32 mode)
|
||||
{
|
||||
cellSysutilAvcExt.todo("cellSysutilAvcExtSetChatMode(func=*0x%x, userdata=*0x%x, container=0x%x, media=0x%x, videoQuality=0x%x, voiceQuality=0x%x, option=*0x%x, request_id=*0x%x)",
|
||||
func, userdata, container, +media, +videoQuality, +voiceQuality, option, request_id);
|
||||
cellSysutilAvcExt.todo("cellSysutilAvcExtSetChatMode(mode=0x%x)", mode);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
@ -134,11 +132,9 @@ error_code cellSysutilAvcExtHideWindow(vm::ptr<SceNpId> player_id, CellSysutilAv
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellSysutilAvcExtSetChatGroup(vm::ptr<CellSysutilAvcCallback> func, vm::ptr<void> userdata, sys_memory_container_t container,
|
||||
CellSysUtilAvcMediaType media, CellSysUtilAvcVideoQuality videoQuality, CellSysUtilAvcVoiceQuality voiceQuality, vm::ptr<CellSysutilAvcOptionParam> option, vm::ptr<CellSysutilAvcRequestId> request_id)
|
||||
error_code cellSysutilAvcExtSetChatGroup()
|
||||
{
|
||||
cellSysutilAvcExt.todo("cellSysutilAvcExtSetChatGroup(func=*0x%x, userdata=*0x%x, container=0x%x, media=0x%x, videoQuality=0x%x, voiceQuality=0x%x, option=*0x%x, request_id=*0x%x)",
|
||||
func, userdata, container, +media, +videoQuality, +voiceQuality, option, request_id);
|
||||
cellSysutilAvcExt.todo("cellSysutilAvcExtSetChatGroup()");
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
@ -178,7 +174,7 @@ error_code cellSysutilAvcExtStopMicDetection()
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellSysutilAvcExtInitOptionParam(s64 avcOptionParamVersion, vm::ptr<CellSysutilAvcOptionParam> option)
|
||||
error_code cellSysutilAvcExtInitOptionParam(s32 avcOptionParamVersion, vm::ptr<CellSysutilAvcOptionParam> option)
|
||||
{
|
||||
cellSysutilAvcExt.todo("cellSysutilAvcExtInitOptionParam(avcOptionParamVersion=0x%x, option=*0x%x)", avcOptionParamVersion, option);
|
||||
return CELL_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user