mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-09 17:49:45 +00:00
stub rsxaudio
This commit is contained in:
parent
d099148961
commit
65b2a0d538
1 changed files with 4 additions and 0 deletions
|
@ -8,7 +8,9 @@ LOG_CHANNEL(sys_rsxaudio);
|
||||||
|
|
||||||
error_code sys_rsxaudio_initialize(vm::ptr<u32> handle)
|
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);
|
sys_rsxaudio.todo("sys_rsxaudio_initialize(handle=*0x%x)", handle);
|
||||||
|
*handle = 0xcacad0d0;
|
||||||
|
|
||||||
return CELL_OK;
|
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);
|
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;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue