sceGameCustomDataDialogOpen and sceGameCustomDataDialogGetResult share
shadPS4's code path with the A entry points; only the recipient type
differs (online IDs instead of account IDs). All four now follow it:
Open and OpenA check the param size, reserved bytes, data param, signed-in
user and every mode's fields with shadPS4's limits and error codes, and
GetResult and GetResultA check the reserved bytes, write the callback
argument, error code and result at shadPS4's offsets, clear the sent-users
list and return the result. Close answers NOT_RUNNING, as the dialog is
never left running.
constants, and the library did not include CommonDialog.hpp, so keep
it as it is on main. Add the include after the other includes in
libSceSigninDialog and libSceGameCustomDataDialog, apart from the
include #15391 and #15392 add at the top.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Twenty-three dialog libraries and two tests redefined the common dialog
statuses, results and error codes in their own anonymous namespaces.
Every value agreed. CommonDialog.hpp now defines them, and the copies
are gone. GuestCommonDialog pins each value with a static_assert on the
literal, so the tests that used their own copies still check the same
numbers.
COMMON_DIALOG_ERROR_BUSY stays in each library: fourteen use 0x80B80007
and libSceInvitationDialog 0x80B80008, and which one the console
returns is the open question on #15643. No library returns a different
value.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
NpTrophy reads the trophy count and icons from the title's trophy
package (names are encrypted and stay not implemented), PS4 v1 save data
calls wrap the native v2/v3 ones, and NpWebApi library contexts, handles
and push event filters work offline (service filters fail without a
signed-in user). libSceAjm is built from the libSceAjm.native sources
for PS4 titles. Limbo's (CUSA01664) remaining PS4 imports, including the
synchronous PS4 TUS calls and the Facebook dialog calls next to the
existing libraries, are exported as not implemented.