Repository navigation
feat(libSceGameLiveStreaming): implement sceGameLiveStreamingEnableLiveStreaming - #9319
Conversation
…veStreaming The signature, int sceGameLiveStreamingEnableLiveStreaming(const bool isEnableLiveStreaming), follows Orbital and fpPS4. No broadcast is ever on air, so both values succeed and change nothing. A call outside sceGameLiveStreamingInitialize and sceGameLiveStreamingTerminate throws, as the console's error for it is unknown. Monopoly Plus (CUSA03312) stopped at this call after its language screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
|
Independent Windows run of this PR (data only). Environment: Windows 10 Pro 10.0.19045, Ryzen 7 5800X3D, WinLibs GCC 15.2.0 r7 (MinGW-w64 UCRT), Release, BUILD_TESTING=ON. Merge-tree of the PR head against PR head tested: Results (3 runs each):
GPU: the run output has no Not run: other platforms, the other tests in the same family, the full repository CTest, and any title or console run. AI-assisted (Claude Code). |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@xXPBSXx thank you for the independent Windows run and the baseline check. I've added it to Tested. I merged current |
|
@MarcZX10 thanks. I've proposed the order to #9524's author (comment): this one first, then #9524 with The two heads conflict only in I'll update AI-assisted: yes (Claude Code) |
What
Implements
sceGameLiveStreamingEnableLiveStreaming, which #8114 only declared.int sceGameLiveStreamingEnableLiveStreaming(const bool isEnableLiveStreaming), from Orbital's type database; fpPS4 has the same one-Booleansignature. shadPS4 and GPCS4 declare it without parameters.sceGameLiveStreamingGetCurrentStatus2keeps reporting no stream.sceGameLiveStreamingInitialize/sceGameLiveStreamingTerminatethrowsstd::logic_error. It reads the library'sg_initializedunderg_mutex, which fix(libs): libs funcs abi debt 2026 10 20 #9137 added. The module's error for this call is not confirmed: fix(libs): libs funcs abi debt 2026 10 20 #9137 returns0x80A00004fromsceGameLiveStreamingTerminateandsceGameLiveStreamingGetCurrentStatus2, and fpPS4 definesSCE_GAME_LIVE_STREAMING_ERROR_NOT_INITIALIZEDbut never returns it from this call. Throwing follows libSceContentDelete. If the module confirms0x80A00004here, the throw becomes that return.Overlap from
pr_overlap.py, after mergingmain:core/libs/tests/GuestGameLiveStreaming.cpp(declarations and test lines at the same places). Whichever lands second merges the other's lines. feat(libSceGameLiveStreaming): answer offline setting and feedback calls locally #9524 returns0x80A00004when not initialized from its calls, followingsceGameLiveStreamingGetCurrentStatus2; if that is preferred for this call too, it is the one-line change above.sceGameLiveStreamingGetProgramInfoand only shares neighbouring lines.std::runtime_error, is closed.Tested
Windows 11, WinLibs GCC 15.2.0, targeted build of
libSceGameLiveStreamingandguest_game_live_streaming_tests, at7372200418(currentmain4777caca34merged in):ctest --test-dir build -R guest_game_live_streaming -V: passes, 3 of 3 runs.main's library, on an uncaughtsceGameLiveStreamingEnableLiveStreaming not implemented, and fails with the initialization check removed (3 of 3 runs each). Before the merge, it also failed with Initialize no longer setting the flag or Terminate no longer clearing it; that state is now fix(libs): libs funcs abi debt 2026 10 20 #9137's.b6f96055bf: Windows 10 Pro 19045, Ryzen 7 5800X3D, WinLibs GCC 15.2.0 r7 (UCRT), Release.guest_game_live_streamingpasses 3 of 3. With the merge base'sExport.cppand this pull request's test, it fails 3 of 3 (exit0xc0000409).Monopoly Plus (CUSA03312) on Windows 11 with an AMD RX 9070 XT, with this change on the PS4 bring-up branch. Before the change, the title stopped at
sceGameLiveStreamingEnableLiveStreaming not implementedright after its language screen. With it, the title gets past that point and loads its main menu. The window was closed about 130 s in, and nothing stopped the title before that.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code