Skip to content

Commit

Permalink
brainfart
Browse files Browse the repository at this point in the history
  • Loading branch information
DexrnZacAttack authored Oct 6, 2024
1 parent 470b27d commit a15ee78
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions patterns/arc.hexpat
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,15 @@
#pragma endian big

import std.string;

fn add_virtual_file(str path, auto pattern)
{
builtin::hex::core::add_virtual_file(path, pattern);
};
import hex.core;

struct Table {
u16 nameSize;
char fileName[nameSize];
u32 offset;
u32 size;
u8 file[size] @ offset;
add_virtual_file(fileName, file);
hex::core::add_virtual_file(fileName, file);
} [[name(std::string::to_string(fileName))]];

struct ARC {
Expand Down

0 comments on commit a15ee78

Please sign in to comment.