2014-07-12 09:46:14 +02:00
|
|
|
#include "stdafx.h"
|
2015-07-30 03:43:03 +02:00
|
|
|
#include "Emu/Memory/Memory.h"
|
|
|
|
|
#include "Emu/SysCalls/Modules.h"
|
2013-09-28 04:36:57 +02:00
|
|
|
|
2015-09-08 15:53:28 +02:00
|
|
|
extern Module<> cellPhotoExport;
|
2013-09-28 04:36:57 +02:00
|
|
|
|
|
|
|
|
// Return Codes
|
|
|
|
|
enum
|
|
|
|
|
{
|
2014-04-04 15:25:38 +02:00
|
|
|
CELL_PHOTO_EXPORT_UTIL_RET_OK = 0,
|
|
|
|
|
CELL_PHOTO_EXPORT_UTIL_RET_CANCEL = 1,
|
|
|
|
|
CELL_PHOTO_EXPORT_UTIL_ERROR_BUSY = 0x8002c201,
|
|
|
|
|
CELL_PHOTO_EXPORT_UTIL_ERROR_INTERNAL = 0x8002c202,
|
|
|
|
|
CELL_PHOTO_EXPORT_UTIL_ERROR_PARAM = 0x8002c203,
|
|
|
|
|
CELL_PHOTO_EXPORT_UTIL_ERROR_ACCESS_ERROR = 0x8002c204,
|
|
|
|
|
CELL_PHOTO_EXPORT_UTIL_ERROR_DB_INTERNAL = 0x8002c205,
|
|
|
|
|
CELL_PHOTO_EXPORT_UTIL_ERROR_DB_REGIST = 0x8002c206,
|
|
|
|
|
CELL_PHOTO_EXPORT_UTIL_ERROR_SET_META = 0x8002c207,
|
|
|
|
|
CELL_PHOTO_EXPORT_UTIL_ERROR_FLUSH_META = 0x8002c208,
|
|
|
|
|
CELL_PHOTO_EXPORT_UTIL_ERROR_MOVE = 0x8002c209,
|
|
|
|
|
CELL_PHOTO_EXPORT_UTIL_ERROR_INITIALIZE = 0x8002c20a,
|
2013-09-28 04:36:57 +02:00
|
|
|
};
|
|
|
|
|
|
2015-07-30 03:43:03 +02:00
|
|
|
s32 cellPhotoInitialize()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellPhotoExport);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-07-30 03:43:03 +02:00
|
|
|
s32 cellPhotoFinalize()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellPhotoExport);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-07-30 03:43:03 +02:00
|
|
|
s32 cellPhotoRegistFromFile()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellPhotoExport);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-07-30 03:43:03 +02:00
|
|
|
s32 cellPhotoExportInitialize()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellPhotoExport);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-07-30 03:43:03 +02:00
|
|
|
s32 cellPhotoExportInitialize2()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellPhotoExport);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-07-30 03:43:03 +02:00
|
|
|
s32 cellPhotoExportFinalize()
|
2013-09-28 04:36:57 +02:00
|
|
|
{
|
2015-07-30 03:43:03 +02:00
|
|
|
UNIMPLEMENTED_FUNC(cellPhotoExport);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellPhotoExportFromFile()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellPhotoExport);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellPhotoExportFromFileWithCopy()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellPhotoExport);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellPhotoExportProgress()
|
|
|
|
|
{
|
|
|
|
|
UNIMPLEMENTED_FUNC(cellPhotoExport);
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2015-09-08 15:53:28 +02:00
|
|
|
Module<> cellPhotoExport("cellPhotoExport", []()
|
2015-07-30 03:43:03 +02:00
|
|
|
{
|
|
|
|
|
REG_FUNC(cellPhotoExport, cellPhotoInitialize);
|
|
|
|
|
REG_FUNC(cellPhotoExport, cellPhotoFinalize);
|
|
|
|
|
REG_FUNC(cellPhotoExport, cellPhotoRegistFromFile);
|
2015-02-20 14:58:40 +01:00
|
|
|
REG_FUNC(cellPhotoExport, cellPhotoExportInitialize);
|
|
|
|
|
REG_FUNC(cellPhotoExport, cellPhotoExportInitialize2);
|
|
|
|
|
REG_FUNC(cellPhotoExport, cellPhotoExportFinalize);
|
|
|
|
|
REG_FUNC(cellPhotoExport, cellPhotoExportFromFile);
|
2015-07-30 03:43:03 +02:00
|
|
|
REG_FUNC(cellPhotoExport, cellPhotoExportFromFileWithCopy);
|
2015-02-20 14:58:40 +01:00
|
|
|
REG_FUNC(cellPhotoExport, cellPhotoExportProgress);
|
2015-07-30 03:43:03 +02:00
|
|
|
});
|