2015-01-29 16:48:05 +01:00
|
|
|
#include "stdafx.h"
|
|
|
|
|
#include "Emu/System.h"
|
|
|
|
|
#include "Emu/ARMv7/PSVFuncList.h"
|
|
|
|
|
|
2015-06-21 01:04:01 +02:00
|
|
|
#include "sceScreenShot.h"
|
2015-01-29 16:48:05 +01:00
|
|
|
|
2015-06-22 00:27:58 +02:00
|
|
|
s32 sceScreenShotSetParam(vm::cptr<SceScreenShotParam> param)
|
2015-01-30 11:48:12 +01:00
|
|
|
{
|
2015-07-01 19:09:26 +02:00
|
|
|
throw EXCEPTION("");
|
2015-01-30 11:48:12 +01:00
|
|
|
}
|
|
|
|
|
|
2015-06-22 00:27:58 +02:00
|
|
|
s32 sceScreenShotSetOverlayImage(vm::cptr<char> filePath, s32 offsetX, s32 offsetY)
|
2015-01-30 11:48:12 +01:00
|
|
|
{
|
2015-07-01 19:09:26 +02:00
|
|
|
throw EXCEPTION("");
|
2015-01-30 11:48:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 sceScreenShotDisable()
|
|
|
|
|
{
|
2015-07-01 19:09:26 +02:00
|
|
|
throw EXCEPTION("");
|
2015-01-30 11:48:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 sceScreenShotEnable()
|
|
|
|
|
{
|
2015-07-01 19:09:26 +02:00
|
|
|
throw EXCEPTION("");
|
2015-01-30 11:48:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2015-01-29 16:48:05 +01:00
|
|
|
#define REG_FUNC(nid, name) reg_psv_func(nid, &sceScreenShot, #name, name)
|
|
|
|
|
|
|
|
|
|
psv_log_base sceScreenShot("SceScreenShot", []()
|
|
|
|
|
{
|
|
|
|
|
sceScreenShot.on_load = nullptr;
|
|
|
|
|
sceScreenShot.on_unload = nullptr;
|
|
|
|
|
sceScreenShot.on_stop = nullptr;
|
2015-06-21 01:04:01 +02:00
|
|
|
sceScreenShot.on_error = nullptr;
|
2015-01-29 16:48:05 +01:00
|
|
|
|
2015-01-30 11:48:12 +01:00
|
|
|
REG_FUNC(0x05DB59C7, sceScreenShotSetParam);
|
|
|
|
|
REG_FUNC(0x7061665B, sceScreenShotSetOverlayImage);
|
|
|
|
|
REG_FUNC(0x50AE9FF9, sceScreenShotDisable);
|
|
|
|
|
REG_FUNC(0x76E674D1, sceScreenShotEnable);
|
2015-01-29 16:48:05 +01:00
|
|
|
});
|