Skip to content

Add nsGetApplicationControlData2 - #699

Merged
fincs merged 13 commits into
switchbrew:masterfrom
masagrator:master
Dec 7, 2025
Merged

fincs merged 13 commits into
switchbrew:masterfrom
masagrator:master

Conversation

@masagrator

Copy link
Copy Markdown
Contributor

Only difference between this and nsGetApplicationControlData is that it expects 64-bit value for actual_size, but still writes only 32-bit and to MSB part. That's why there is bit shift added. Internally only difference is that it skips some functions, but execution time wise they are exactly the same.

Maybe old function will be deprecated at some point, so it will be good to have working alternative ready.

Comment thread nx/source/services/ns.c Resolved
Comment thread nx/source/services/ns.c Resolved
Comment thread nx/source/services/ns.c Resolved
@yellows8

yellows8 commented Dec 5, 2025

Copy link
Copy Markdown
Contributor

Unlikely, but is there any difference in the output when using this on S1 with a game where the game-update has the NACP for Switch2-Edition?(TOTK, ...)

@fincs
fincs merged commit 94444aa into switchbrew:master Dec 7, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants