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

Support SystemResourceSize property in NPDM META #26

Merged
merged 2 commits into from
Jan 10, 2020

Conversation

shadowninja108
Copy link
Contributor

No description provided.

src/npdmtool.c Outdated
@@ -305,6 +306,11 @@ int CreateNpdm(const char *json, void **dst, u32 *dst_size) {
status = 0;
goto NPDM_BUILD_END;
}

u64 system_resource_size;
if(cJSON_GetU64(npdm_json, "system_resource_size", &system_resource_size)) // optional
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a func for handling u32?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit late, but added.

@yellows8 yellows8 requested a review from fincs January 10, 2020 01:33
@fincs fincs merged commit e607ced into switchbrew:master Jan 10, 2020
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