mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-26 12:12:02 +00:00
Remove homebrew-only NSO extensions.
This commit is contained in:
parent
1de967ed42
commit
dcbedbf13a
1 changed files with 0 additions and 9 deletions
|
@ -25,7 +25,6 @@
|
||||||
|
|
||||||
#define NSO_HEADER_MAGIC 0x4E534F30 /* "NSO0". */
|
#define NSO_HEADER_MAGIC 0x4E534F30 /* "NSO0". */
|
||||||
#define NSO_MOD_MAGIC 0x4D4F4430 /* "MOD0". */
|
#define NSO_MOD_MAGIC 0x4D4F4430 /* "MOD0". */
|
||||||
#define NSO_LNY_MAGIC 0x4C4E5930 /* "LNY0". */
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
NsoFlags_TextCompress = BIT(0), ///< Determines if .text segment is LZ4-compressed.
|
NsoFlags_TextCompress = BIT(0), ///< Determines if .text segment is LZ4-compressed.
|
||||||
|
@ -101,14 +100,6 @@ typedef struct {
|
||||||
s32 module_object_offset; ///< Typically equal to .bss base.
|
s32 module_object_offset; ///< Typically equal to .bss base.
|
||||||
} NsoModHeader;
|
} NsoModHeader;
|
||||||
|
|
||||||
/// Placed right after the NsoModHeader block (decompressed .text segment only).
|
|
||||||
/// Only valid if the 'magic' member holds the expected value.
|
|
||||||
typedef struct {
|
|
||||||
u32 magic; ///< "LNY0".
|
|
||||||
u32 got_start_offset;
|
|
||||||
u32 got_end_offset;
|
|
||||||
} NsoLnyHeader;
|
|
||||||
|
|
||||||
/// Placed at the start of the decompressed .rodata segment + 0x4.
|
/// Placed at the start of the decompressed .rodata segment + 0x4.
|
||||||
/// If the 'name_length' element is greater than 0, 'name' will hold the module name.
|
/// If the 'name_length' element is greater than 0, 'name' will hold the module name.
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
Loading…
Reference in a new issue