mirror of
https://github.com/SysRay/psOff_public.git
synced 2024-11-26 16:10:49 +00:00
sceCameraOpen+sceCamera close stubs
This commit is contained in:
parent
c20a166a92
commit
1b81e2a3ae
@ -10,10 +10,15 @@ extern "C" {
|
||||
|
||||
EXPORT const char* MODULE_NAME = "libSceCamera";
|
||||
|
||||
EXPORT SYSV_ABI int32_t sceCameraOpen() {
|
||||
EXPORT SYSV_ABI int32_t sceCameraOpen(SceUserServiceUserId userId, int32_t type, int32_t index, SceCameraOpenParam* param) {
|
||||
LOG_USE_MODULE(libSceCamera);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
return Ok;
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI int32_t sceCameraClose(int32_t handle) {
|
||||
LOG_USE_MODULE(libSceCamera);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
return Ok;
|
||||
}
|
||||
}
|
||||
|
@ -54,3 +54,10 @@ struct SceCameraFrameData {
|
||||
SceCameraMeta meta;
|
||||
void* pFramePointerListGarlic[SCE_CAMERA_MAX_DEVICE_NUM][SCE_CAMERA_MAX_FORMAT_LEVEL_NUM];
|
||||
};
|
||||
|
||||
struct SceCameraOpenParam {
|
||||
uint32_t sizeThis;
|
||||
uint32_t reserved1;
|
||||
uint32_t reserved2;
|
||||
uint32_t reserved3;
|
||||
};
|
||||
|
@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
#include "codes.h"
|
||||
#include "modules_include/sceTypes.h"
|
||||
#include "modules/libSceCamera/types.h"
|
||||
#include "modules_include/sceTypes.h"
|
||||
|
||||
enum class SceVrTrackerProfile {
|
||||
PROFILE_000 = 0,
|
||||
|
Loading…
Reference in New Issue
Block a user