summaryrefslogtreecommitdiff
path: root/include/nitro/SND_main_shared.h
blob: 52addda02477598f6beb8d26687a6a92f90a83de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * NOTE:
 * This file is shared between ARM9 and ARM7
 * DO NOT PUT PROC SPECIFIC CODE IN HERE
 * Thank You!
 */

/*
 * DO NOT INCLUDE THIS FILE DIRECTLY
 * Include SND_main.h from the specific proc's lib
 */

#ifndef POKEDIAMOND_SND_MAIN_SHARED_H
#define POKEDIAMOND_SND_MAIN_SHARED_H

#include "nitro/types.h"

struct SNDBinaryFileHeader
{
    s8 signature[4]; // 0x0
    u16 byteOrder; // 0x4
    u16 version; // 0x6
    u32 fileSize; // 0x8
    u16 headerSize; // 0xC
    u16 dataBlocks; // 0xE
}; // size = 0x10

typedef struct SNDBinaryBlockHeader
{
    u32 type; // 0x0
    u32 size; // 0x4
} SNDBinaryBlockHeader; // size = 0x8

#endif // POKEDIAMOND_SND_MAIN_SHARED_H