mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-26 07:38:45 -04:00
9a4319827b
* small z64animation cleanup * z64 * actor * bgcheck * collisioncheck * curve * cutscene * effect * item * light * math * player * save * save * schedule * skin * transition * Remove leading 0s from size = 0x10 * z64schedule enum * PR * enums
25 lines
761 B
C
25 lines
761 B
C
#ifndef _Z64_DMA_H_
|
|
#define _Z64_DMA_H_
|
|
|
|
#include "ultra64.h"
|
|
|
|
typedef struct {
|
|
/* 0x00 */ u32 vromAddr; // VROM address (source)
|
|
/* 0x04 */ void* dramAddr; // DRAM address (destination)
|
|
/* 0x08 */ u32 size; // File Transfer size
|
|
/* 0x0C */ char* filename; // Filename for debugging
|
|
/* 0x10 */ s32 line; // Line for debugging
|
|
/* 0x14 */ s32 unk14;
|
|
/* 0x18 */ OSMesgQueue* notifyQueue; // Message queue for the notification message
|
|
/* 0x1C */ OSMesg notifyMsg; // Completion notification message
|
|
} DmaRequest; // size = 0x20
|
|
|
|
typedef struct {
|
|
/* 0x0 */ u32 vromStart;
|
|
/* 0x4 */ u32 vromEnd;
|
|
/* 0x8 */ u32 romStart;
|
|
/* 0xC */ u32 romEnd;
|
|
} DmaEntry; // size = 0x10
|
|
|
|
#endif
|