Repository navigation
fix(libSceCommonDialog): report ALREADY_SYSTEM_INITIALIZED on repeated initialization - #8870
Closed
klosixgaming-arch wants to merge 1 commit into
Closed
klosixgaming-arch wants to merge 1 commit into
klosixgaming-arch wants to merge 1 commit into
Conversation
…d initialization
sceCommonDialogInitialize returned COMMON_DIALOG_ERROR_ALREADY_INITIALIZED
(0x80B80004) when called repeatedly. TEKKEN DARK RESURRECTION (PPSA31371)
initializes the common dialog subsystem via its SaveDataMultiDialog component
and asserts ret == SCE_OK || ret == SCE_COMMON_DIALOG_ERROR_ALREADY_SYSTEM_INITIALIZED,
stopping on boot with:
(REQUIRE(ret == SCE_OK || ret == SCE_COMMON_DIALOG_ERROR_ALREADY_SYSTEM_INITIALIZED) FAILED) Could not initialize CommonDialog (80B80004)
./PSPHD/src/Sce/SaveDataMultiDialog.cpp(16): DEBUG STOP.
The system-level common dialog initialization reports
COMMON_DIALOG_ERROR_ALREADY_SYSTEM_INITIALIZED (0x80B80002) on repeated calls,
as expected by Sony's PSPHD runtime. Return 0x80B80002 when g_initialized is
already set.
Tested with TEKKEN DARK RESURRECTION (PPSA31371), which now boots past common
dialog and save data initialization to the title screen ("Press START to play!").
AI-assisted: yes. Written with AI assistance and reviewed by me.
Contributor
Author
|
duplicates open PR #8618 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Report
COMMON_DIALOG_ERROR_ALREADY_SYSTEM_INITIALIZED(0x80B80002) instead of0x80B80004whensceCommonDialogInitializeis called repeatedly.Tested
guest_common_dialog_tests(passes 100%)tools/check_conventions.py --base origin/main(passes with 0 errors)SaveDataMultiDialogand save data discovery ([SAVEDATA:native] dirNameSearch ... hit=0 set=0 -> 0x00000000) and boots into the title screen ("Press START to play!").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)