Repository navigation
feat(libSceJson2): store the special float format type of InitParameter2 - #4745
Closed
renzipego-cpu wants to merge 3 commits into
Closed
renzipego-cpu wants to merge 3 commits into
renzipego-cpu wants to merge 3 commits into
Conversation
PPSA07411 (Resident Evil 4) fails to load without these imports that no library exports. Their signatures are unknown, so they are declared without parameters and throw until they are implemented. Adds one test and a TechnicalDebt entry. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
PPSA07411 (Resident Evil 4) and PPSA02530 (PRAGMATA) call sce::Json::InitParameter2::setSpecialFloatFormatType during start-up, which only threw. The mangled name gives the signature (one SpecialFloatFormatType by value). The value is stored as a 32-bit integer after the file buffer size, like the other setters, and nothing reads it; the place in the structure is assumed, as for the other fields. guest_json now checks the stored value and that nothing beyond 32 bytes is written. Replaces the throwing stub from the PPSA07411 exports commit and its entry in the exports test. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Thank you for your contribution! Authors with no pull requests merged into |
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.
Carries
xXPBSXx:fix/json2-special-float-format-v3unchanged (e2c4cc34, stacked on the export branch as published). Refs #2776 (the reported last stop of RE4).Depends on: #3773 - this diff against that branch is the last commit only (the other two commits are that branch's content).
What
Resident Evil 4 (PPSA07411), once its
Party.prxand import stops are passed (#3129 is on main; #3773 pending), stops at start-up on:The
InitParameter2special-float-format setter now stores the value, as the sibling setters do, instead of throwing. TechnicalDebt records that the layout and whether the console validates the value are unverified on a title.Tested
Windows 11, MinGW-w64 GCC 15.2.0 (WinLibs r7), Ninja, Release,
BUILD_TESTING=ON, full build includinglibs:guest_jsonandguest_ppsa07411_exportspass on the branch rebased onto current upstream (198e02210).python tools/check_conventions.py --base upstream/mainpasses. The title was not run here; the runtime stop is the one xXPBSXx measured in #2776.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)