mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12:00
48 lines
1 KiB
C++
48 lines
1 KiB
C++
#include "stdafx.h"
|
|
#include "Emu/System.h"
|
|
#include "Emu/ARMv7/PSVFuncList.h"
|
|
|
|
extern psv_log_base sceScreenShot;
|
|
|
|
struct SceScreenShotParam
|
|
{
|
|
vm::psv::ptr<const char> photoTitle;
|
|
vm::psv::ptr<const char> gameTitle;
|
|
vm::psv::ptr<const char> gameComment;
|
|
vm::psv::ptr<void> reserved;
|
|
};
|
|
|
|
s32 sceScreenShotSetParam(vm::psv::ptr<const SceScreenShotParam> param)
|
|
{
|
|
throw __FUNCTION__;
|
|
}
|
|
|
|
s32 sceScreenShotSetOverlayImage(vm::psv::ptr<const char> filePath, s32 offsetX, s32 offsetY)
|
|
{
|
|
throw __FUNCTION__;
|
|
}
|
|
|
|
s32 sceScreenShotDisable()
|
|
{
|
|
throw __FUNCTION__;
|
|
}
|
|
|
|
s32 sceScreenShotEnable()
|
|
{
|
|
throw __FUNCTION__;
|
|
}
|
|
|
|
|
|
#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;
|
|
|
|
REG_FUNC(0x05DB59C7, sceScreenShotSetParam);
|
|
REG_FUNC(0x7061665B, sceScreenShotSetOverlayImage);
|
|
REG_FUNC(0x50AE9FF9, sceScreenShotDisable);
|
|
REG_FUNC(0x76E674D1, sceScreenShotEnable);
|
|
});
|