patterns: Included required stdlib files

This commit is contained in:
WerWolv
2022-01-30 17:56:39 +01:00
parent 6325dbce0d
commit d8261c013c
8 changed files with 22 additions and 0 deletions

View File

@@ -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"

View File

@@ -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];

View File

@@ -1,5 +1,8 @@
#pragma endian little
#include <std/io.pat>
#include <std/mem.pat>
#define VTOR 0x00000000
#define EXTERNAL_INTERRUPT_COUNT 64

View File

@@ -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

View File

@@ -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;

View File

@@ -1,5 +1,8 @@
#pragma endian little
#include <std/sys.pat>
#include <std/io.pat>
struct ApplicationTitle {
char name[0x200];
char publisher[0x100];

View File

@@ -1,3 +1,6 @@
#include <std/io.pat>
#include <std/sys.pat>
struct MOD0 {
char magic[4];
u32 dynamic_offset [[name(".dynamic offset")]];

View File

@@ -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")]];