mirror of
https://github.com/google0101-ryan/Emotional.git
synced 2024-06-23 14:43:20 -04:00
20 lines
401 B
C
20 lines
401 B
C
#pragma once
|
|
|
|
#include <stddef.h>
|
|
|
|
typedef struct
|
|
{
|
|
void* searchBegin; // The beginning of the search range (TODO: why does the BIOS save this?)
|
|
void* firstEntry;
|
|
size_t romDirSize;
|
|
} RomDir;
|
|
|
|
typedef struct
|
|
{
|
|
char* name;
|
|
void* filePtr;
|
|
void* extInfo;
|
|
} RomDirEnt;
|
|
|
|
RomDir* SearchForRomDir(void* start, void* end, RomDir* out);
|
|
RomDirEnt* FindRomDirEnt(RomDir* dir, char* name, RomDirEnt* out); |