2015-01-29 16:48:05 +01:00
|
|
|
#include "stdafx.h"
|
|
|
|
|
#include "Emu/System.h"
|
|
|
|
|
#include "Emu/ARMv7/PSVFuncList.h"
|
|
|
|
|
|
2015-06-21 01:04:01 +02:00
|
|
|
#include "scePhotoExport.h"
|
2015-01-30 11:48:12 +01:00
|
|
|
|
|
|
|
|
s32 scePhotoExportFromData(
|
2015-06-22 00:27:58 +02:00
|
|
|
vm::cptr<void> photodata,
|
2015-01-30 11:48:12 +01:00
|
|
|
s32 photodataSize,
|
2015-06-22 00:27:58 +02:00
|
|
|
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)
|
|
|
|
|
{
|
2015-07-01 19:09:26 +02:00
|
|
|
throw EXCEPTION("");
|
2015-01-30 11:48:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 scePhotoExportFromFile(
|
2015-06-22 00:27:58 +02:00
|
|
|
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)
|
|
|
|
|
{
|
2015-07-01 19:09:26 +02:00
|
|
|
throw EXCEPTION("");
|
2015-01-30 11:48:12 +01:00
|
|
|
}
|
|
|
|
|
|
2015-01-29 16:48:05 +01:00
|
|
|
#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;
|
2015-06-21 01:04:01 +02:00
|
|
|
scePhotoExport.on_error = nullptr;
|
2015-01-29 16:48:05 +01:00
|
|
|
|
2015-01-30 11:48:12 +01:00
|
|
|
REG_FUNC(0x70512321, scePhotoExportFromData);
|
|
|
|
|
REG_FUNC(0x84FD9FC5, scePhotoExportFromFile);
|
2015-01-29 16:48:05 +01:00
|
|
|
});
|