2015-01-29 18:48:05 +03:00
|
|
|
#include "stdafx.h"
|
|
|
|
|
#include "Emu/System.h"
|
2016-05-13 13:17:26 +03:00
|
|
|
#include "Emu/PSP2/ARMv7Module.h"
|
2015-01-29 18:48:05 +03:00
|
|
|
|
2015-06-21 02:04:01 +03:00
|
|
|
#include "sceScreenShot.h"
|
2015-01-29 18:48:05 +03:00
|
|
|
|
2016-05-13 13:17:26 +03:00
|
|
|
logs::channel sceScreenShot("sceScreenShot", logs::level::notice);
|
2016-02-02 00:53:16 +03:00
|
|
|
|
2015-06-22 01:27:58 +03:00
|
|
|
s32 sceScreenShotSetParam(vm::cptr<SceScreenShotParam> param)
|
2015-01-30 13:48:12 +03:00
|
|
|
{
|
2016-08-08 19:01:06 +03:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-01-30 13:48:12 +03:00
|
|
|
}
|
|
|
|
|
|
2015-06-22 01:27:58 +03:00
|
|
|
s32 sceScreenShotSetOverlayImage(vm::cptr<char> filePath, s32 offsetX, s32 offsetY)
|
2015-01-30 13:48:12 +03:00
|
|
|
{
|
2016-08-08 19:01:06 +03:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-01-30 13:48:12 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 sceScreenShotDisable()
|
|
|
|
|
{
|
2016-08-08 19:01:06 +03:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-01-30 13:48:12 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 sceScreenShotEnable()
|
|
|
|
|
{
|
2016-08-08 19:01:06 +03:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-01-30 13:48:12 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2016-02-02 00:53:16 +03:00
|
|
|
#define REG_FUNC(nid, name) REG_FNID(libSceScreenShot, nid, name)
|
2015-01-29 18:48:05 +03:00
|
|
|
|
2016-02-02 00:53:16 +03:00
|
|
|
DECLARE(arm_module_manager::SceScreenShot)("libSceScreenShot", []()
|
2015-01-29 18:48:05 +03:00
|
|
|
{
|
2015-01-30 13:48:12 +03:00
|
|
|
REG_FUNC(0x05DB59C7, sceScreenShotSetParam);
|
|
|
|
|
REG_FUNC(0x7061665B, sceScreenShotSetOverlayImage);
|
|
|
|
|
REG_FUNC(0x50AE9FF9, sceScreenShotDisable);
|
|
|
|
|
REG_FUNC(0x76E674D1, sceScreenShotEnable);
|
2015-01-29 18:48:05 +03:00
|
|
|
});
|