mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
Stub sys_rsxaudio_ functions
This commit is contained in:
parent
45dc7fbac8
commit
4d294e7a69
6 changed files with 82 additions and 1 deletions
|
@ -173,6 +173,7 @@ extern void sysPrxForUser_sys_mempool_init();
|
||||||
extern void sysPrxForUser_sys_spu_init();
|
extern void sysPrxForUser_sys_spu_init();
|
||||||
extern void sysPrxForUser_sys_game_init();
|
extern void sysPrxForUser_sys_game_init();
|
||||||
extern void sysPrxForUser_sys_libc_init();
|
extern void sysPrxForUser_sys_libc_init();
|
||||||
|
extern void sysPrxForUser_sys_rsxaudio_init();
|
||||||
|
|
||||||
DECLARE(ppu_module_manager::sysPrxForUser)("sysPrxForUser", []()
|
DECLARE(ppu_module_manager::sysPrxForUser)("sysPrxForUser", []()
|
||||||
{
|
{
|
||||||
|
@ -227,6 +228,7 @@ DECLARE(ppu_module_manager::sysPrxForUser)("sysPrxForUser", []()
|
||||||
sysPrxForUser_sys_spu_init();
|
sysPrxForUser_sys_spu_init();
|
||||||
sysPrxForUser_sys_game_init();
|
sysPrxForUser_sys_game_init();
|
||||||
sysPrxForUser_sys_libc_init();
|
sysPrxForUser_sys_libc_init();
|
||||||
|
sysPrxForUser_sys_rsxaudio_init();
|
||||||
|
|
||||||
REG_VAR(sysPrxForUser, sys_prx_version); // 0x7df066cf
|
REG_VAR(sysPrxForUser, sys_prx_version); // 0x7df066cf
|
||||||
|
|
||||||
|
|
74
rpcs3/Emu/Cell/Modules/sys_rsxaudio_.cpp
Normal file
74
rpcs3/Emu/Cell/Modules/sys_rsxaudio_.cpp
Normal file
|
@ -0,0 +1,74 @@
|
||||||
|
#include "stdafx.h"
|
||||||
|
#include "Emu/System.h"
|
||||||
|
#include "Emu/Cell/PPUModule.h"
|
||||||
|
|
||||||
|
#include "sysPrxForUser.h"
|
||||||
|
|
||||||
|
extern logs::channel sysPrxForUser;
|
||||||
|
|
||||||
|
s32 sys_rsxaudio_close_connection()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED_FUNC(sysPrxForUser);
|
||||||
|
return CELL_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
s32 sys_rsxaudio_create_connection()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED_FUNC(sysPrxForUser);
|
||||||
|
return CELL_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
s32 sys_rsxaudio_finalize()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED_FUNC(sysPrxForUser);
|
||||||
|
return CELL_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
s32 sys_rsxaudio_import_shared_memory()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED_FUNC(sysPrxForUser);
|
||||||
|
return CELL_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
s32 sys_rsxaudio_initialize()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED_FUNC(sysPrxForUser);
|
||||||
|
return CELL_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
s32 sys_rsxaudio_prepare_process()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED_FUNC(sysPrxForUser);
|
||||||
|
return CELL_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
s32 sys_rsxaudio_start_process()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED_FUNC(sysPrxForUser);
|
||||||
|
return CELL_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
s32 sys_rsxaudio_stop_process()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED_FUNC(sysPrxForUser);
|
||||||
|
return CELL_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
s32 sys_rsxaudio_unimport_shared_memory()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED_FUNC(sysPrxForUser);
|
||||||
|
return CELL_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
void sysPrxForUser_sys_rsxaudio_init()
|
||||||
|
{
|
||||||
|
REG_FUNC(sysPrxForUser, sys_rsxaudio_close_connection);
|
||||||
|
REG_FUNC(sysPrxForUser, sys_rsxaudio_create_connection);
|
||||||
|
REG_FUNC(sysPrxForUser, sys_rsxaudio_finalize);
|
||||||
|
REG_FUNC(sysPrxForUser, sys_rsxaudio_import_shared_memory);
|
||||||
|
REG_FUNC(sysPrxForUser, sys_rsxaudio_initialize);
|
||||||
|
REG_FUNC(sysPrxForUser, sys_rsxaudio_prepare_process);
|
||||||
|
REG_FUNC(sysPrxForUser, sys_rsxaudio_start_process);
|
||||||
|
REG_FUNC(sysPrxForUser, sys_rsxaudio_stop_process);
|
||||||
|
REG_FUNC(sysPrxForUser, sys_rsxaudio_unimport_shared_memory);
|
||||||
|
}
|
|
@ -389,6 +389,7 @@ extern std::string ppu_get_syscall_name(u64 code)
|
||||||
case 655: return "sys_rsxaudio_close_connection";
|
case 655: return "sys_rsxaudio_close_connection";
|
||||||
case 656: return "sys_rsxaudio_prepare_process";
|
case 656: return "sys_rsxaudio_prepare_process";
|
||||||
case 657: return "sys_rsxaudio_start_process";
|
case 657: return "sys_rsxaudio_start_process";
|
||||||
|
case 658: return "sys_rsxaudio_stop_process";
|
||||||
case 666: return "sys_rsx_device_open";
|
case 666: return "sys_rsx_device_open";
|
||||||
case 667: return "sys_rsx_device_close";
|
case 667: return "sys_rsx_device_close";
|
||||||
case 668: return "sys_rsx_memory_allocate";
|
case 668: return "sys_rsx_memory_allocate";
|
||||||
|
|
|
@ -610,7 +610,7 @@ const std::array<ppu_function_t, 1024> s_ppu_syscall_table
|
||||||
null_func,//BIND_FUNC(sys_rsxaudio_close_connection) //655 (0x28F)
|
null_func,//BIND_FUNC(sys_rsxaudio_close_connection) //655 (0x28F)
|
||||||
null_func,//BIND_FUNC(sys_rsxaudio_prepare_process) //656 (0x290)
|
null_func,//BIND_FUNC(sys_rsxaudio_prepare_process) //656 (0x290)
|
||||||
null_func,//BIND_FUNC(sys_rsxaudio_start_process) //657 (0x291)
|
null_func,//BIND_FUNC(sys_rsxaudio_start_process) //657 (0x291)
|
||||||
null_func,//BIND_FUNC(sys_rsxaudio_) //658 (0x292)
|
null_func,//BIND_FUNC(sys_rsxaudio_stop_process) //658 (0x292)
|
||||||
null_func,//BIND_FUNC(sys_rsxaudio_) //659 (0x293)
|
null_func,//BIND_FUNC(sys_rsxaudio_) //659 (0x293)
|
||||||
|
|
||||||
null_func, null_func, null_func, null_func, null_func, //664 UNS
|
null_func, null_func, null_func, null_func, null_func, //664 UNS
|
||||||
|
|
|
@ -253,6 +253,7 @@
|
||||||
<ClCompile Include="Emu\Cell\Modules\sys_net.cpp" />
|
<ClCompile Include="Emu\Cell\Modules\sys_net.cpp" />
|
||||||
<ClCompile Include="Emu\Cell\Modules\sys_ppu_thread_.cpp" />
|
<ClCompile Include="Emu\Cell\Modules\sys_ppu_thread_.cpp" />
|
||||||
<ClCompile Include="Emu\Cell\Modules\sys_prx_.cpp" />
|
<ClCompile Include="Emu\Cell\Modules\sys_prx_.cpp" />
|
||||||
|
<ClCompile Include="Emu\Cell\Modules\sys_rsxaudio_.cpp" />
|
||||||
<ClCompile Include="Emu\Cell\Modules\sys_spinlock.cpp" />
|
<ClCompile Include="Emu\Cell\Modules\sys_spinlock.cpp" />
|
||||||
<ClCompile Include="Emu\Cell\Modules\sys_spu_.cpp" />
|
<ClCompile Include="Emu\Cell\Modules\sys_spu_.cpp" />
|
||||||
<ClCompile Include="Emu\Cell\PPUDisAsm.cpp" />
|
<ClCompile Include="Emu\Cell\PPUDisAsm.cpp" />
|
||||||
|
|
|
@ -632,6 +632,9 @@
|
||||||
<ClCompile Include="Emu\Cell\Modules\sys_prx_.cpp">
|
<ClCompile Include="Emu\Cell\Modules\sys_prx_.cpp">
|
||||||
<Filter>Emu\Cell\Modules</Filter>
|
<Filter>Emu\Cell\Modules</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="Emu\Cell\Modules\sys_rsxaudio_.cpp">
|
||||||
|
<Filter>Emu\Cell\Modules</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="Emu\Cell\Modules\sys_spinlock.cpp">
|
<ClCompile Include="Emu\Cell\Modules\sys_spinlock.cpp">
|
||||||
<Filter>Emu\Cell\Modules</Filter>
|
<Filter>Emu\Cell\Modules</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue