mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-27 23:37:04 -05:00
patterns: Included required stdlib files
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#pragma endian little
|
||||
|
||||
#include <std/io.pat>
|
||||
|
||||
#define ATMOSPHERE_REBOOT_TO_FATAL_MAGIC "AFE2"
|
||||
#define ATMOSPHERE_REBOOT_TO_FATAL_MAGIC_1 "AFE1"
|
||||
#define ATMOSPHERE_REBOOT_TO_FATAL_MAGIC_0 "AFE0"
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
#pragma MIME application/x-archive
|
||||
|
||||
#include <std/string.pat>
|
||||
#include <std/mem.pat>
|
||||
#include <std/sys.pat>
|
||||
|
||||
struct ARFile {
|
||||
char file_name[16];
|
||||
char modification_timestamp[12];
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#pragma endian little
|
||||
|
||||
#include <std/io.pat>
|
||||
#include <std/mem.pat>
|
||||
|
||||
#define VTOR 0x00000000
|
||||
#define EXTERNAL_INTERRUPT_COUNT 64
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
#pragma endian little
|
||||
|
||||
#include <std/sys.pat>
|
||||
|
||||
#pragma MIME image/vnd.microsoft.icon
|
||||
#pragma MIME image/x-icon
|
||||
#pragma MIME image/icon
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#pragma endian big
|
||||
#pragma MIME application/x-java-applet
|
||||
|
||||
#include <std/io.pat>
|
||||
#include <std/sys.pat>
|
||||
|
||||
// The Java documentations use the number of bytes instead of the number of bits for its type names
|
||||
using u1 = u8;
|
||||
using u2 = u16;
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#pragma endian little
|
||||
|
||||
#include <std/sys.pat>
|
||||
#include <std/io.pat>
|
||||
|
||||
struct ApplicationTitle {
|
||||
char name[0x200];
|
||||
char publisher[0x100];
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#include <std/io.pat>
|
||||
#include <std/sys.pat>
|
||||
|
||||
struct MOD0 {
|
||||
char magic[4];
|
||||
u32 dynamic_offset [[name(".dynamic offset")]];
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
#pragma MIME application/zip
|
||||
|
||||
#include <std/mem.pat>
|
||||
|
||||
struct EndOfCentralDirectory{
|
||||
u32 headerSignature [[color("00000000")]];
|
||||
u16 diskNum [[comment("Number of this disk "), name("Disk Number")]];
|
||||
|
||||
Reference in New Issue
Block a user