mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-12-23 00:52:10 +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)
|
||||
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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue