mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 10:18:40 +12:00
* 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.
49 lines
No EOL
968 B
C++
49 lines
No EOL
968 B
C++
#include "stdafx.h"
|
|
#include "Emu/SysCalls/SysCalls.h"
|
|
#include "Emu/SysCalls/SC_FUNC.h"
|
|
|
|
void cellBgdl_init();
|
|
Module cellBgdl(0x003f, cellBgdl_init);
|
|
|
|
// Return Codes
|
|
enum
|
|
{
|
|
CELL_BGDL_UTIL_RET_OK = 0x00000000,
|
|
CELL_BGDL_UTIL_ERROR_BUSY = 0x8002ce01,
|
|
CELL_BGDL_UTIL_ERROR_INTERNAL = 0x8002ce02,
|
|
CELL_BGDL_UTIL_ERROR_PARAM = 0x8002ce03,
|
|
CELL_BGDL_UTIL_ERROR_ACCESS_ERROR = 0x8002ce04,
|
|
CELL_BGDL_UTIL_ERROR_INITIALIZE = 0x8002ce05,
|
|
};
|
|
|
|
int cellBGDLGetInfo()
|
|
{
|
|
UNIMPLEMENTED_FUNC(cellBgdl);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int cellBGDLGetInfo2()
|
|
{
|
|
UNIMPLEMENTED_FUNC(cellBgdl);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int cellBGDLSetMode()
|
|
{
|
|
UNIMPLEMENTED_FUNC(cellBgdl);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int cellBGDLGetMode()
|
|
{
|
|
UNIMPLEMENTED_FUNC(cellBgdl);
|
|
return CELL_OK;
|
|
}
|
|
|
|
void cellBgdl_init()
|
|
{
|
|
cellBgdl.AddFunc(0x4e9bb95b, cellBGDLGetInfo);
|
|
cellBgdl.AddFunc(0x2ab0d183, cellBGDLGetInfo2);
|
|
cellBgdl.AddFunc(0x7e134a90, cellBGDLSetMode);
|
|
cellBgdl.AddFunc(0x74e57bdf, cellBGDLGetMode);
|
|
} |