stub rsxaudio

This commit is contained in:
clienthax 2021-04-25 15:35:12 +01:00 committed by kd-11
parent d099148961
commit 65b2a0d538
1 changed files with 4 additions and 0 deletions

View File

@ -8,7 +8,9 @@ LOG_CHANNEL(sys_rsxaudio);
error_code sys_rsxaudio_initialize(vm::ptr<u32> handle)
{
// Creates a lv2 object for rsxaudio, returns handle
sys_rsxaudio.todo("sys_rsxaudio_initialize(handle=*0x%x)", handle);
*handle = 0xcacad0d0;
return CELL_OK;
}
@ -24,6 +26,8 @@ error_code sys_rsxaudio_import_shared_memory(u32 handle, vm::ptr<u64> addr)
{
sys_rsxaudio.todo("sys_rsxaudio_import_shared_memory(handle=0x%x, addr=*0x%x)", handle, addr);
*addr = vm::alloc(0x40000, vm::main);
return CELL_OK;
}