mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-26 12:12:02 +00:00
Add DisableDeviceAddressSpaceMerge NPDM meta flag.
Also updated the Makefile to link the application against lwext4.
This commit is contained in:
parent
fbd250a417
commit
736f2e155b
2 changed files with 6 additions and 5 deletions
2
Makefile
2
Makefile
|
@ -69,7 +69,7 @@ CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions
|
||||||
ASFLAGS := -g $(ARCH)
|
ASFLAGS := -g $(ARCH)
|
||||||
LDFLAGS = -specs=$(DEVKITPRO)/libnx/switch.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
|
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
|
# list of directories containing libraries, this must be the top level containing
|
||||||
|
|
|
@ -45,7 +45,8 @@ typedef struct {
|
||||||
u8 is_64bit_instruction : 1;
|
u8 is_64bit_instruction : 1;
|
||||||
u8 process_address_space : 3; ///< NpdmProcessAddressSpace.
|
u8 process_address_space : 3; ///< NpdmProcessAddressSpace.
|
||||||
u8 optimize_memory_allocation : 1;
|
u8 optimize_memory_allocation : 1;
|
||||||
u8 reserved : 3;
|
u8 disable_device_address_space_merge : 1;
|
||||||
|
u8 reserved : 2;
|
||||||
} NpdmMetaFlags;
|
} NpdmMetaFlags;
|
||||||
|
|
||||||
/// This is the start of every NPDM file.
|
/// This is the start of every NPDM file.
|
||||||
|
|
Loading…
Reference in a new issue