mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 23:15:18 +00:00
PSV modules refactoring
This commit is contained in:
parent
8229c0ed3d
commit
bc9481db1b
129 changed files with 5000 additions and 4588 deletions
|
|
@ -2,39 +2,28 @@
|
|||
#include "Emu/System.h"
|
||||
#include "Emu/ARMv7/PSVFuncList.h"
|
||||
|
||||
extern psv_log_base scePhotoExport;
|
||||
|
||||
struct ScePhotoExportParam
|
||||
{
|
||||
u32 version;
|
||||
vm::psv::ptr<const char> photoTitle;
|
||||
vm::psv::ptr<const char> gameTitle;
|
||||
vm::psv::ptr<const char> gameComment;
|
||||
char reserved[32];
|
||||
};
|
||||
|
||||
typedef vm::psv::ptr<s32(vm::psv::ptr<void>)> ScePhotoExportCancelFunc;
|
||||
#include "scePhotoExport.h"
|
||||
|
||||
s32 scePhotoExportFromData(
|
||||
vm::psv::ptr<const void> photodata,
|
||||
vm::ptr<const void> photodata,
|
||||
s32 photodataSize,
|
||||
vm::psv::ptr<const ScePhotoExportParam> param,
|
||||
vm::psv::ptr<void> workMemory,
|
||||
ScePhotoExportCancelFunc cancelFunc,
|
||||
vm::psv::ptr<void> userdata,
|
||||
vm::psv::ptr<char> exportedPath,
|
||||
vm::ptr<const ScePhotoExportParam> param,
|
||||
vm::ptr<void> workMemory,
|
||||
vm::ptr<ScePhotoExportCancelFunc> cancelFunc,
|
||||
vm::ptr<void> userdata,
|
||||
vm::ptr<char> exportedPath,
|
||||
s32 exportedPathLength)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 scePhotoExportFromFile(
|
||||
vm::psv::ptr<const char> photodataPath,
|
||||
vm::psv::ptr<const ScePhotoExportParam> param,
|
||||
vm::psv::ptr<void> workMemory,
|
||||
ScePhotoExportCancelFunc cancelFunc,
|
||||
vm::psv::ptr<void> userdata,
|
||||
vm::psv::ptr<char> exportedPath,
|
||||
vm::ptr<const char> photodataPath,
|
||||
vm::ptr<const ScePhotoExportParam> param,
|
||||
vm::ptr<void> workMemory,
|
||||
vm::ptr<ScePhotoExportCancelFunc> cancelFunc,
|
||||
vm::ptr<void> userdata,
|
||||
vm::ptr<char> exportedPath,
|
||||
s32 exportedPathLength)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
|
|
@ -47,6 +36,7 @@ psv_log_base scePhotoExport("ScePhotoExport", []()
|
|||
scePhotoExport.on_load = nullptr;
|
||||
scePhotoExport.on_unload = nullptr;
|
||||
scePhotoExport.on_stop = nullptr;
|
||||
scePhotoExport.on_error = nullptr;
|
||||
|
||||
REG_FUNC(0x70512321, scePhotoExportFromData);
|
||||
REG_FUNC(0x84FD9FC5, scePhotoExportFromFile);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue