mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 00:22:57 -05:00
PPSA11386 calls sceSharePlayInitialize(NULL, 0x1800) at start-up and stops on any non-zero result, so the console accepts a null heap. The library keeps no state and does not use the heap; a zero size still throws, as its error is unknown. libSceSharePlay gets its own CMakeLists for the test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
325 B
C++
19 lines
325 B
C++
#include <cstdint>
|
|
#include <cstddef>
|
|
#include "SceTypes.hpp"
|
|
#include "prx/libc/include/General.hpp"
|
|
|
|
extern "C" {
|
|
|
|
int APS5_VABI sceSharePlayInitialize(void* heap, size_t heapSize) {
|
|
(void)heap;
|
|
if (heapSize == 0) APS5_INVALID_ARG_EX;
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceSharePlayTerminate(void) {
|
|
return 0;
|
|
}
|
|
|
|
}
|