mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 08:22:32 +00:00
sceSharePlayGetCurrentConnectionInfo
This commit is contained in:
parent
b0f37c85d7
commit
33da344702
@ -14,8 +14,10 @@ int PS4_SYSV_ABI sceSharePlayCrashDaemon() {
|
|||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int PS4_SYSV_ABI sceSharePlayGetCurrentConnectionInfo() {
|
int PS4_SYSV_ABI sceSharePlayGetCurrentConnectionInfo(OrbisSharePlayConnectionInfo* pInfo) {
|
||||||
LOG_ERROR(Lib_SharePlay, "(STUBBED) called");
|
memset(pInfo, 0, sizeof(*pInfo));
|
||||||
|
pInfo->status = ORBIS_SHARE_PLAY_CONNECTION_STATUS_DORMANT;
|
||||||
|
LOG_DEBUG(Lib_SharePlay, "(STUBBED) called");
|
||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <core/libraries/np_manager/np_manager.h>
|
||||||
#include "common/types.h"
|
#include "common/types.h"
|
||||||
|
|
||||||
namespace Core::Loader {
|
namespace Core::Loader {
|
||||||
@ -11,8 +12,21 @@ class SymbolsResolver;
|
|||||||
|
|
||||||
namespace Libraries::SharePlay {
|
namespace Libraries::SharePlay {
|
||||||
|
|
||||||
|
constexpr int ORBIS_SHARE_PLAY_CONNECTION_STATUS_DORMANT = 0x00;
|
||||||
|
constexpr int ORBIS_SHARE_PLAY_CONNECTION_STATUS_READY = 0x01;
|
||||||
|
constexpr int ORBIS_SHARE_PLAY_CONNECTION_STATUS_CONNECTED = 0x02;
|
||||||
|
|
||||||
|
struct OrbisSharePlayConnectionInfo {
|
||||||
|
int status;
|
||||||
|
int mode;
|
||||||
|
Libraries::NpManager::OrbisNpOnlineId hostOnlineId;
|
||||||
|
Libraries::NpManager::OrbisNpOnlineId visitorOnlineId;
|
||||||
|
s32 hostUserId;
|
||||||
|
s32 visitorUserId;
|
||||||
|
};
|
||||||
|
|
||||||
int PS4_SYSV_ABI sceSharePlayCrashDaemon();
|
int PS4_SYSV_ABI sceSharePlayCrashDaemon();
|
||||||
int PS4_SYSV_ABI sceSharePlayGetCurrentConnectionInfo();
|
int PS4_SYSV_ABI sceSharePlayGetCurrentConnectionInfo(OrbisSharePlayConnectionInfo* pInfo);
|
||||||
int PS4_SYSV_ABI sceSharePlayGetCurrentConnectionInfoA();
|
int PS4_SYSV_ABI sceSharePlayGetCurrentConnectionInfoA();
|
||||||
int PS4_SYSV_ABI sceSharePlayGetCurrentInfo();
|
int PS4_SYSV_ABI sceSharePlayGetCurrentInfo();
|
||||||
int PS4_SYSV_ABI sceSharePlayGetEvent();
|
int PS4_SYSV_ABI sceSharePlayGetEvent();
|
||||||
|
Loading…
Reference in New Issue
Block a user