sceCameraOpen+sceCamera close stubs

This commit is contained in:
igor725 2024-04-03 15:53:40 +03:00
parent c20a166a92
commit 1b81e2a3ae
No known key found for this signature in database
GPG Key ID: 46F13BBE46F8569D
3 changed files with 14 additions and 2 deletions

View File

@ -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;
}
}

View File

@ -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;
};

View File

@ -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,