Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add fsDeviceOperatorGetGameCardUpdatePartitionInfo #635

Merged
merged 2 commits into from
Nov 23, 2023

Conversation

ITotalJustice
Copy link
Contributor

@ITotalJustice ITotalJustice commented Nov 23, 2023

i wasn't sure if the version field should be a bitfield or just a u32. if we keep it a u32, should i comment how to extract the version as it might not be obvious to the dev, as they may try to use HOSVER_X macros on it

const u8 relstep = (update_partition_info.version >> 0)  & 0xFFFF;
const u8 micro   = (update_partition_info.version >> 16) & 0x000F;
const u8 minor   = (update_partition_info.version >> 20) & 0x003F;
const u8 major   = (update_partition_info.version >> 26) & 0x003F;

@yellows8
Copy link
Contributor

u32 version is fine, u32 version is used elsewhere.

@fincs fincs merged commit fda4e6b into switchbrew:master Nov 23, 2023
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.

None yet

3 participants