mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-18 23:07:07 -05:00
Only the lines this branch added lose their comments; the commits before keep them, with the reasoning behind each change, for whoever digs into that code later. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
29 lines
604 B
C++
29 lines
604 B
C++
#include <cstdint>
|
|
#include <cstddef>
|
|
#include <stdexcept>
|
|
#include <string>
|
|
#include "SceTypes.hpp"
|
|
#include "prx/libc/include/General.hpp"
|
|
|
|
constexpr int REMOTEPLAY_CONNECTION_STATUS_DISCONNECT = 0;
|
|
|
|
extern "C" {
|
|
|
|
int APS5_VABI sceRemoteplayGetConnectionStatus(int user_id, int* status) {
|
|
(void)user_id;
|
|
if (!status) APS5_INVALID_ARG_EX;
|
|
*status = REMOTEPLAY_CONNECTION_STATUS_DISCONNECT;
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceRemoteplayInitialize(void* heap, size_t heap_size) {
|
|
if (!heap || heap_size == 0) APS5_INVALID_ARG_EX;
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceRemoteplayTerminate(void) {
|
|
return 0;
|
|
}
|
|
|
|
}
|