From 65b2a0d5383380e9c054ff3c77feac56fd916175 Mon Sep 17 00:00:00 2001 From: clienthax Date: Sun, 25 Apr 2021 15:35:12 +0100 Subject: [PATCH] stub rsxaudio --- rpcs3/Emu/Cell/lv2/sys_rsxaudio.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rpcs3/Emu/Cell/lv2/sys_rsxaudio.cpp b/rpcs3/Emu/Cell/lv2/sys_rsxaudio.cpp index f221c96e75..dcb071e908 100644 --- a/rpcs3/Emu/Cell/lv2/sys_rsxaudio.cpp +++ b/rpcs3/Emu/Cell/lv2/sys_rsxaudio.cpp @@ -8,7 +8,9 @@ LOG_CHANNEL(sys_rsxaudio); error_code sys_rsxaudio_initialize(vm::ptr 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 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; }