mirror of
https://github.com/Gericom/GBARunner3.git
synced 2025-06-19 03:35:32 -04:00
24 lines
427 B
C
24 lines
427 B
C
#pragma once
|
|
|
|
typedef struct
|
|
{
|
|
u32 curPlaySampleCount;
|
|
u32 curPlaySamples;
|
|
} gbas_direct_channel7_t;
|
|
|
|
typedef struct
|
|
{
|
|
u32 fifo[8];
|
|
volatile u16 readOffset;
|
|
volatile u16 writeOffset;
|
|
|
|
volatile bool dmaRequest;
|
|
} gbas_direct_channel_t __attribute__((aligned(4)));
|
|
|
|
typedef struct
|
|
{
|
|
u8 soundCntX; // only enable flags
|
|
u8 masterEnable;
|
|
gbas_direct_channel_t directChannels[2];
|
|
} gbas_shared_t;
|