From dcbedbf13a6730cfcc78839dd36abe55fa3bfda4 Mon Sep 17 00:00:00 2001 From: Pablo Curiel Date: Sat, 10 Oct 2020 11:38:06 -0400 Subject: [PATCH] Remove homebrew-only NSO extensions. --- source/nso.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/source/nso.h b/source/nso.h index e23c536..342741d 100644 --- a/source/nso.h +++ b/source/nso.h @@ -25,7 +25,6 @@ #define NSO_HEADER_MAGIC 0x4E534F30 /* "NSO0". */ #define NSO_MOD_MAGIC 0x4D4F4430 /* "MOD0". */ -#define NSO_LNY_MAGIC 0x4C4E5930 /* "LNY0". */ typedef enum { 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. } 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. /// If the 'name_length' element is greater than 0, 'name' will hold the module name. typedef struct {