Multiple ROM paths implementation

This commit is contained in:
Cacodemon345
2022-04-05 02:16:23 +06:00
parent fd90a36fe9
commit 4b09a6329a
3 changed files with 132 additions and 16 deletions

View File

@@ -41,6 +41,13 @@ typedef struct {
} rom_t;
typedef struct rom_path_t {
char rom_path[1024];
struct rom_path_t* next;
} rom_path_t;
extern rom_path_t rom_paths;
extern uint8_t rom_read(uint32_t addr, void *p);
extern uint16_t rom_readw(uint32_t addr, void *p);
extern uint32_t rom_readl(uint32_t addr, void *p);