#include "stdafx.h" #include "Emu/System.h" #include "Emu/ARMv7/PSVFuncList.h" extern psv_log_base scePhotoExport; struct ScePhotoExportParam { u32 version; vm::psv::ptr photoTitle; vm::psv::ptr gameTitle; vm::psv::ptr gameComment; char reserved[32]; }; typedef vm::psv::ptr)> ScePhotoExportCancelFunc; s32 scePhotoExportFromData( vm::psv::ptr photodata, s32 photodataSize, vm::psv::ptr param, vm::psv::ptr workMemory, ScePhotoExportCancelFunc cancelFunc, vm::psv::ptr userdata, vm::psv::ptr exportedPath, s32 exportedPathLength) { throw __FUNCTION__; } s32 scePhotoExportFromFile( vm::psv::ptr photodataPath, vm::psv::ptr param, vm::psv::ptr workMemory, ScePhotoExportCancelFunc cancelFunc, vm::psv::ptr userdata, vm::psv::ptr exportedPath, s32 exportedPathLength) { throw __FUNCTION__; } #define REG_FUNC(nid, name) reg_psv_func(nid, &scePhotoExport, #name, name) psv_log_base scePhotoExport("ScePhotoExport", []() { scePhotoExport.on_load = nullptr; scePhotoExport.on_unload = nullptr; scePhotoExport.on_stop = nullptr; REG_FUNC(0x70512321, scePhotoExportFromData); REG_FUNC(0x84FD9FC5, scePhotoExportFromFile); });