mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-18 04:45:20 +00:00
PSP2
This commit is contained in:
parent
5c52521a0a
commit
38c444cfa1
133 changed files with 767 additions and 478 deletions
40
rpcs3/Emu/PSP2/Modules/scePhotoExport.cpp
Normal file
40
rpcs3/Emu/PSP2/Modules/scePhotoExport.cpp
Normal 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);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue