rpcsx/rpcs3/Emu/SysCalls/lv2/SC_RSX.cpp
Alexandro Sánchez Bach 60261408c2 Merge branch 'master' of https://github.com/AlexAltea/rpcs3
NOTE: I included some changes of the forks of O1L and Dante38490 to my
fork. However, a conflict appeared while merging their sources with the
ones of DH. I had to resolve this conflict manually and push all the
changes like a new commit, that's why there changes weren't recorded
individually and (probably) won't appear at in the commits list. I am
very sorry for this, I'll try to avoid this in the future.

In order to preserve the authors of those commits, I write this list
here:
O1L: Dummy Modules (cellAudio, cellSaveData, and more)

23ece01a0b

784fc571b3

Dante38490: Spotted and fixed an issue in git-version-gen.cmd

44e8867125

Regarding my changes:
* New lv2 SysCalls implemented (and others improved)
* SDATA unpacker implemented
* Changed layout of sc_table
2013-11-09 02:05:58 +01:00

77 lines
1.7 KiB
C++

#include "stdafx.h"
#include "Emu/SysCalls/SysCalls.h"
SysCallBase sys_rsx("sys_rsx");
int sys_rsx_device_open()
{
sys_rsx.Warning("Unimplemented function: sys_rsx_device_open()");
return CELL_OK;
}
int sys_rsx_device_close()
{
sys_rsx.Warning("Unimplemented function: sys_rsx_device_close()");
return CELL_OK;
}
int sys_rsx_memory_allocate()
{
sys_rsx.Warning("Unimplemented function: sys_rsx_memory_allocate()");
return CELL_OK;
}
int sys_rsx_memory_free()
{
sys_rsx.Warning("Unimplemented function: sys_rsx_memory_free()");
return CELL_OK;
}
int sys_rsx_context_allocate()
{
sys_rsx.Warning("Unimplemented function: sys_rsx_context_allocate()");
return CELL_OK;
}
int sys_rsx_context_free()
{
sys_rsx.Warning("Unimplemented function: sys_rsx_context_free()");
return CELL_OK;
}
int sys_rsx_context_iomap()
{
sys_rsx.Warning("Unimplemented function: sys_rsx_context_iomap()");
return CELL_OK;
}
int sys_rsx_context_iounmap()
{
sys_rsx.Warning("Unimplemented function: sys_rsx_context_iounmap()");
return CELL_OK;
}
int sys_rsx_context_attribute(s32 context_id, u64 a2, u64 a3, u64 a4, u64 a5, u64 a6)
{
sys_rsx.Warning("Unimplemented function: sys_rsx_context_attribute(context_id=%d, a2=%llu, a3=%llu, a4=%llu, a5=%llu, a6=%llu)", context_id, a2, a3, a4, a5, a6);
return CELL_OK;
}
int sys_rsx_device_map(mem32_t a1, mem32_t a2, u32 a3)
{
sys_rsx.Warning("Unimplemented function: sys_rsx_device_map(a1_addr=0x%x, a2_addr=0x%x, a3=%d)", a1.GetAddr(), a2.GetAddr(), a3);
return CELL_OK;
}
int sys_rsx_device_unmap()
{
sys_rsx.Warning("Unimplemented function: sys_rsx_device_unmap()");
return CELL_OK;
}
int sys_rsx_attribute()
{
sys_rsx.Warning("Unimplemented function: sys_rsx_attribute()");
return CELL_OK;
}