rpcsx/rpcs3/Emu/SysCalls/Modules/cellScreenshot.cpp

49 lines
1.1 KiB
C++
Raw Normal View History

#include "stdafx.h"
#include "Emu/SysCalls/SysCalls.h"
#include "Emu/SysCalls/SC_FUNC.h"
void cellScreenshot_init();
Module cellScreenshot(0x004e, cellScreenshot_init);
// Return Codes
enum
{
CELL_SCREENSHOT_OK = 0x0,
CELL_SCREENSHOT_ERROR_INTERNAL = 0x8002d101,
CELL_SCREENSHOT_ERROR_PARAM = 0x8002d102,
CELL_SCREENSHOT_ERROR_DECODE = 0x8002d103,
CELL_SCREENSHOT_ERROR_NOSPACE = 0x8002d104,
CELL_SCREENSHOT_ERROR_UNSUPPORTED_COLOR_FORMAT = 0x8002d105,
};
int cellScreenShotSetParameter()
{
UNIMPLEMENTED_FUNC(cellScreenshot);
return CELL_OK;
}
int cellScreenShotSetOverlayImage()
{
UNIMPLEMENTED_FUNC(cellScreenshot);
return CELL_OK;
}
int cellScreenShotEnable()
{
UNIMPLEMENTED_FUNC(cellScreenshot);
return CELL_OK;
}
int cellScreenShotDisable()
{
UNIMPLEMENTED_FUNC(cellScreenshot);
return CELL_OK;
}
void cellScreenshot_init()
{
cellScreenshot.AddFunc(0xd3ad63e4, cellScreenShotSetParameter);
cellScreenshot.AddFunc(0x7a9c2243, cellScreenShotSetOverlayImage);
cellScreenshot.AddFunc(0x9e33ab8f, cellScreenShotEnable);
cellScreenshot.AddFunc(0xfc6f4e74, cellScreenShotDisable);
}