rpcsx/rpcs3/Emu/PSP2/Modules/scePhotoExport.cpp

41 lines
1,011 B
C++
Raw Normal View History

#include "stdafx.h"
#include "Emu/System.h"
2016-05-13 12:17:26 +02:00
#include "Emu/PSP2/ARMv7Module.h"
2015-06-21 01:04:01 +02:00
#include "scePhotoExport.h"
2015-01-30 11:48:12 +01:00
2017-05-13 20:30:37 +02:00
logs::channel scePhotoExport("scePhotoExport");
2016-02-01 22:53:16 +01:00
2015-01-30 11:48:12 +01:00
s32 scePhotoExportFromData(
vm::cptr<void> photodata,
2015-01-30 11:48:12 +01:00
s32 photodataSize,
vm::cptr<ScePhotoExportParam> param,
2015-06-21 01:04:01 +02:00
vm::ptr<void> workMemory,
vm::ptr<ScePhotoExportCancelFunc> cancelFunc,
vm::ptr<void> userdata,
vm::ptr<char> exportedPath,
2015-01-30 11:48:12 +01:00
s32 exportedPathLength)
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-30 11:48:12 +01:00
}
s32 scePhotoExportFromFile(
vm::cptr<char> photodataPath,
vm::cptr<ScePhotoExportParam> param,
2015-06-21 01:04:01 +02:00
vm::ptr<void> workMemory,
vm::ptr<ScePhotoExportCancelFunc> cancelFunc,
vm::ptr<void> userdata,
vm::ptr<char> exportedPath,
2015-01-30 11:48:12 +01:00
s32 exportedPathLength)
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-30 11:48:12 +01:00
}
2016-02-01 22:53:16 +01:00
#define REG_FUNC(nid, name) REG_FNID(libScePhotoExport, nid, name)
2016-02-01 22:53:16 +01:00
DECLARE(arm_module_manager::ScePhotoExport)("libScePhotoExport", []()
{
2015-01-30 11:48:12 +01:00
REG_FUNC(0x70512321, scePhotoExportFromData);
REG_FUNC(0x84FD9FC5, scePhotoExportFromFile);
});