1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-11 01:10:33 +00:00

Changes to support renaming segments in the spec (#1259)

* Allow dmadata to have names different from the original table

Added an argument to the dma define which is used to match debug strings in z_std_dma.c

* Update kaleido manager to support different overlay names

* Update the actor table to support different actor names

Added an argument to the define which is used to match debug strings in z_actor_dlftbls.c

* PR suggestions for argument descriptions
This commit is contained in:
Roman971 2022-06-06 21:51:03 +02:00 committed by GitHub
parent b0bfa9eb69
commit 6f0b8f1e74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 1993 additions and 1987 deletions

View file

@ -1,7 +1,7 @@
#include "z64dma.h"
// Linker symbol declarations (used in the table below)
#define DEFINE_DMA_ENTRY(name) \
#define DEFINE_DMA_ENTRY(name, _1) \
extern u8 _##name##SegmentRomStart[]; \
extern u8 _##name##SegmentRomEnd[];
@ -10,7 +10,7 @@
#undef DEFINE_DMA_ENTRY
// dmadata Table definition
#define DEFINE_DMA_ENTRY(name) \
#define DEFINE_DMA_ENTRY(name, _1) \
{ (u32)_##name##SegmentRomStart, (u32)_##name##SegmentRomEnd, (u32)_##name##SegmentRomStart, 0 },
DmaEntry gDmaDataTable[] = {