Allow npdm to build without force_debug_prod

This commit is contained in:
GRAnimated 2024-10-23 01:05:08 -04:00
parent 0098896307
commit c27873a94a

View File

@ -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;
}