mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 02:38:37 +12:00
More dummy modules
* 41 new dummy modules created.
NOTE: I have detached the previous 4 dummy modules of my last commit
(1a85ccbbf4
) from the project since they will consume space of the
executable, and compilation time and don't provide anything useful yet,
the same applies to this commit. The only reason to provide this dummy
modules is to avoid that developers have to spend too much time on
creating the template of the module before implementing functions. If
you want to implement a function of any of these modules, add the
corresponding file to the project first.
This commit is contained in:
parent
1a85ccbbf4
commit
afb9273823
43 changed files with 7093 additions and 16 deletions
44
rpcs3/Emu/SysCalls/Modules/cellSysutilAp.cpp
Normal file
44
rpcs3/Emu/SysCalls/Modules/cellSysutilAp.cpp
Normal file
|
@ -0,0 +1,44 @@
|
|||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
void cellSysutilAp_init();
|
||||
Module cellSysutilAp(0x0039, cellSysutilAp_init);
|
||||
|
||||
// Return Codes
|
||||
enum
|
||||
{
|
||||
CELL_SYSUTIL_AP_ERROR_OUT_OF_MEMORY = 0x8002cd00,
|
||||
CELL_SYSUTIL_AP_ERROR_FATAL = 0x8002cd01,
|
||||
CELL_SYSUTIL_AP_ERROR_INVALID_VALUE = 0x8002cd02,
|
||||
CELL_SYSUTIL_AP_ERROR_NOT_INITIALIZED = 0x8002cd03,
|
||||
CELL_SYSUTIL_AP_ERROR_ZERO_REGISTERED = 0x8002cd13,
|
||||
CELL_SYSUTIL_AP_ERROR_NETIF_DISABLED = 0x8002cd14,
|
||||
CELL_SYSUTIL_AP_ERROR_NETIF_NO_CABLE = 0x8002cd15,
|
||||
CELL_SYSUTIL_AP_ERROR_NETIF_CANNOT_CONNECT = 0x8002cd16,
|
||||
};
|
||||
|
||||
int cellSysutilApGetRequiredMemSize()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellSysutilAp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int cellSysutilApOn()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellSysutilAp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int cellSysutilApOff()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellSysutilAp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
void cellSysutilAp_init()
|
||||
{
|
||||
cellSysutilAp.AddFunc(0x9e67e0dd, cellSysutilApGetRequiredMemSize);
|
||||
cellSysutilAp.AddFunc(0x3343824c, cellSysutilApOn);
|
||||
cellSysutilAp.AddFunc(0x90c2bb19, cellSysutilApOff);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue