diff --git a/Makefile b/Makefile index 762e6ad..4afd9cc 100644 --- a/Makefile +++ b/Makefile @@ -69,7 +69,7 @@ CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions ASFLAGS := -g $(ARCH) LDFLAGS = -specs=$(DEVKITPRO)/libnx/switch.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map) -LIBS := -lcurl -lmbedtls -lmbedx509 -lmbedcrypto -lxml2 -lz -lusbhsfs -lntfs-3g -lnx -ljson-c -lm `freetype-config --libs` -lturbojpeg +LIBS := -lcurl -lmbedtls -lmbedx509 -lmbedcrypto -lxml2 -lz -lusbhsfs -lntfs-3g -llwext4 -lnx -ljson-c -lm `freetype-config --libs` -lturbojpeg #--------------------------------------------------------------------------------- # list of directories containing libraries, this must be the top level containing diff --git a/source/npdm.h b/source/npdm.h index 9c7e27a..048a7cc 100644 --- a/source/npdm.h +++ b/source/npdm.h @@ -42,10 +42,11 @@ typedef enum { } NpdmProcessAddressSpace; typedef struct { - u8 is_64bit_instruction : 1; - u8 process_address_space : 3; ///< NpdmProcessAddressSpace. - u8 optimize_memory_allocation : 1; - u8 reserved : 3; + u8 is_64bit_instruction : 1; + u8 process_address_space : 3; ///< NpdmProcessAddressSpace. + u8 optimize_memory_allocation : 1; + u8 disable_device_address_space_merge : 1; + u8 reserved : 2; } NpdmMetaFlags; /// This is the start of every NPDM file.