mirror of
https://github.com/switchbrew/switch-tools.git
synced 2025-08-10 18:39:23 +02:00
Removed ability to set ProductCode
.
This commit is contained in:
parent
4d7340d64c
commit
a6fa78d030
@ -282,12 +282,6 @@ int CreateNpdm(const char *json, void **dst, u32 *dst_size) {
|
||||
status = 0;
|
||||
goto NPDM_BUILD_END;
|
||||
}
|
||||
|
||||
/* Parse product code. */
|
||||
const cJSON *product_code = cJSON_GetObjectItemCaseSensitive(npdm_json, "product_code");
|
||||
if (cJSON_IsString(product_code) && (product_code->valuestring != NULL)) {
|
||||
strncpy(header.ProductCode, product_code->valuestring, sizeof(header.ProductCode) - 1);
|
||||
}
|
||||
|
||||
/* Parse main_thread_stack_size. */
|
||||
u64 stack_size = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user