mirror of
https://github.com/switchbrew/switch-tools.git
synced 2025-06-24 23:02:40 +02:00
Allow npdm to build without force_debug_prod
This commit is contained in:
parent
0098896307
commit
c27873a94a
@ -838,7 +838,7 @@ int CreateNpdm(const char *json, void **dst, u32 *dst_size) {
|
||||
status = 0;
|
||||
goto NPDM_BUILD_END;
|
||||
}
|
||||
if (!cJSON_GetBoolean(value, "force_debug_prod", &force_debug_prod)) {
|
||||
if (!cJSON_GetBooleanOptional(value, "force_debug_prod", &force_debug_prod)) {
|
||||
status = 0;
|
||||
goto NPDM_BUILD_END;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user