mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
hle: Fix cellAvconfExt function registrations
Co-authored-by: Clienthax <clienthax@gmail.com>
This commit is contained in:
parent
3aa293a7a3
commit
fa3fde7a29
3 changed files with 29 additions and 29 deletions
|
@ -283,18 +283,6 @@ error_code cellAudioOutSetCopyControl(u32 audioOut, u32 control)
|
|||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellAudioOutConfigure2()
|
||||
{
|
||||
cellSysutil.todo("cellAudioOutConfigure2()");
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellAudioOutGetConfiguration2()
|
||||
{
|
||||
cellSysutil.todo("cellAudioOutGetConfiguration2()");
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellAudioOutRegisterCallback()
|
||||
{
|
||||
cellSysutil.todo("cellAudioOutRegisterCallback()");
|
||||
|
@ -312,13 +300,11 @@ void cellSysutil_AudioOut_init()
|
|||
{
|
||||
REG_FUNC(cellSysutil, cellAudioOutGetState);
|
||||
REG_FUNC(cellSysutil, cellAudioOutConfigure);
|
||||
REG_FUNC(cellSysutil, cellAudioOutConfigure2);
|
||||
REG_FUNC(cellSysutil, cellAudioOutGetSoundAvailability);
|
||||
REG_FUNC(cellSysutil, cellAudioOutGetSoundAvailability2);
|
||||
REG_FUNC(cellSysutil, cellAudioOutGetDeviceInfo);
|
||||
REG_FUNC(cellSysutil, cellAudioOutGetNumberOfDevice);
|
||||
REG_FUNC(cellSysutil, cellAudioOutGetConfiguration);
|
||||
REG_FUNC(cellSysutil, cellAudioOutGetConfiguration2);
|
||||
REG_FUNC(cellSysutil, cellAudioOutSetCopyControl);
|
||||
REG_FUNC(cellSysutil, cellAudioOutRegisterCallback);
|
||||
REG_FUNC(cellSysutil, cellAudioOutUnregisterCallback);
|
||||
|
|
|
@ -188,7 +188,7 @@ error_code cellAudioInGetDeviceInfo(u32 deviceNumber, u32 deviceIndex, vm::ptr<C
|
|||
error_code cellVideoOutConvertCursorColor(u32 videoOut, s32 displaybuffer_format, f32 gamma, s32 source_buffer_format, vm::ptr<void> src_addr, vm::ptr<u32> dest_addr, s32 num)
|
||||
{
|
||||
cellAvconfExt.todo("cellVideoOutConvertCursorColor(videoOut=%d, displaybuffer_format=0x%x, gamma=0x%x, source_buffer_format=0x%x, src_addr=*0x%x, dest_addr=*0x%x, num=0x%x)", videoOut,
|
||||
displaybuffer_format, gamma, source_buffer_format, src_addr, dest_addr, num);
|
||||
displaybuffer_format, gamma, source_buffer_format, src_addr, dest_addr, num);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
@ -318,6 +318,30 @@ error_code cellVideoOutSetCopyControl(u32 videoOut, u32 control)
|
|||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellVideoOutConfigure2()
|
||||
{
|
||||
cellAvconfExt.todo("cellVideoOutConfigure2()");
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellAudioOutGetConfiguration2()
|
||||
{
|
||||
cellAvconfExt.todo("cellAudioOutGetConfiguration2()");
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellAudioOutConfigure2()
|
||||
{
|
||||
cellAvconfExt.todo("cellAudioOutConfigure2()");
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellVideoOutGetResolutionAvailability2()
|
||||
{
|
||||
cellAvconfExt.todo("cellVideoOutGetResolutionAvailability2()");
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
DECLARE(ppu_module_manager::cellAvconfExt)
|
||||
("cellSysutilAvconfExt", []() {
|
||||
REG_FUNC(cellSysutilAvconfExt, cellAudioOutUnregisterDevice);
|
||||
|
@ -337,4 +361,8 @@ DECLARE(ppu_module_manager::cellAvconfExt)
|
|||
REG_FUNC(cellSysutilAvconfExt, cellAudioInUnregisterDevice);
|
||||
REG_FUNC(cellSysutilAvconfExt, cellVideoOutGetScreenSize);
|
||||
REG_FUNC(cellSysutilAvconfExt, cellVideoOutSetCopyControl);
|
||||
REG_FUNC(cellSysutilAvconfExt, cellVideoOutConfigure2);
|
||||
REG_FUNC(cellSysutilAvconfExt, cellAudioOutGetConfiguration2);
|
||||
REG_FUNC(cellSysutilAvconfExt, cellAudioOutConfigure2);
|
||||
REG_FUNC(cellSysutilAvconfExt, cellVideoOutGetResolutionAvailability2);
|
||||
});
|
||||
|
|
|
@ -289,18 +289,6 @@ error_code cellVideoOutGetResolutionAvailability(u32 videoOut, u32 resolutionId,
|
|||
return CELL_VIDEO_OUT_ERROR_UNSUPPORTED_VIDEO_OUT;
|
||||
}
|
||||
|
||||
error_code cellVideoOutConfigure2()
|
||||
{
|
||||
cellSysutil.todo("cellVideoOutConfigure2()");
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellVideoOutGetResolutionAvailability2()
|
||||
{
|
||||
cellSysutil.todo("cellVideoOutGetResolutionAvailability2()");
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellVideoOutGetConvertCursorColorInfo(vm::ptr<u8> rgbOutputRange)
|
||||
{
|
||||
cellSysutil.todo("cellVideoOutGetConvertCursorColorInfo()");
|
||||
|
@ -331,12 +319,10 @@ void cellSysutil_VideoOut_init()
|
|||
REG_FUNC(cellSysutil, cellVideoOutGetState);
|
||||
REG_FUNC(cellSysutil, cellVideoOutGetResolution).flag(MFF_PERFECT);
|
||||
REG_FUNC(cellSysutil, cellVideoOutConfigure);
|
||||
REG_FUNC(cellSysutil, cellVideoOutConfigure2);
|
||||
REG_FUNC(cellSysutil, cellVideoOutGetConfiguration);
|
||||
REG_FUNC(cellSysutil, cellVideoOutGetDeviceInfo);
|
||||
REG_FUNC(cellSysutil, cellVideoOutGetNumberOfDevice);
|
||||
REG_FUNC(cellSysutil, cellVideoOutGetResolutionAvailability);
|
||||
REG_FUNC(cellSysutil, cellVideoOutGetResolutionAvailability2);
|
||||
REG_FUNC(cellSysutil, cellVideoOutGetConvertCursorColorInfo);
|
||||
REG_FUNC(cellSysutil, cellVideoOutDebugSetMonitorType);
|
||||
REG_FUNC(cellSysutil, cellVideoOutRegisterCallback);
|
||||
|
|
Loading…
Add table
Reference in a new issue