This commit is contained in:
Nekotekina 2016-05-13 13:17:26 +03:00
parent 5c52521a0a
commit 38c444cfa1
133 changed files with 767 additions and 478 deletions

View file

@ -0,0 +1,40 @@
#include "stdafx.h"
#include "Emu/System.h"
#include "Emu/PSP2/ARMv7Module.h"
#include "scePhotoExport.h"
logs::channel scePhotoExport("scePhotoExport", logs::level::notice);
s32 scePhotoExportFromData(
vm::cptr<void> photodata,
s32 photodataSize,
vm::cptr<ScePhotoExportParam> param,
vm::ptr<void> workMemory,
vm::ptr<ScePhotoExportCancelFunc> cancelFunc,
vm::ptr<void> userdata,
vm::ptr<char> exportedPath,
s32 exportedPathLength)
{
throw EXCEPTION("");
}
s32 scePhotoExportFromFile(
vm::cptr<char> photodataPath,
vm::cptr<ScePhotoExportParam> param,
vm::ptr<void> workMemory,
vm::ptr<ScePhotoExportCancelFunc> cancelFunc,
vm::ptr<void> userdata,
vm::ptr<char> exportedPath,
s32 exportedPathLength)
{
throw EXCEPTION("");
}
#define REG_FUNC(nid, name) REG_FNID(libScePhotoExport, nid, name)
DECLARE(arm_module_manager::ScePhotoExport)("libScePhotoExport", []()
{
REG_FUNC(0x70512321, scePhotoExportFromData);
REG_FUNC(0x84FD9FC5, scePhotoExportFromFile);
});