rpcs3/rpcs3/Emu/SysCalls/Modules/cellBgdl.cpp
Alexandro Sánchez Bach afb9273823 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.
2013-09-28 04:36:57 +02:00

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);
}