mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 04:29:09 -06:00
Clean up some struct indentations
Also cleaned up the indentations of some variable declarations.
This commit is contained in:
@ -70,8 +70,8 @@ union UARAMCount
|
||||
u32 Hex;
|
||||
struct
|
||||
{
|
||||
u32 count : 31;
|
||||
u32 dir : 1; // 0: MRAM -> ARAM 1: ARAM -> MRAM
|
||||
u32 count : 31;
|
||||
u32 dir : 1; // 0: MRAM -> ARAM 1: ARAM -> MRAM
|
||||
};
|
||||
};
|
||||
|
||||
@ -83,23 +83,23 @@ union UDSPControl
|
||||
struct
|
||||
{
|
||||
// DSP Control
|
||||
u16 DSPReset : 1; // Write 1 to reset and waits for 0
|
||||
u16 DSPAssertInt : 1;
|
||||
u16 DSPHalt : 1;
|
||||
u16 DSPReset : 1; // Write 1 to reset and waits for 0
|
||||
u16 DSPAssertInt : 1;
|
||||
u16 DSPHalt : 1;
|
||||
// Interrupt for DMA to the AI/speakers
|
||||
u16 AID : 1;
|
||||
u16 AID_mask : 1;
|
||||
u16 AID : 1;
|
||||
u16 AID_mask : 1;
|
||||
// ARAM DMA interrupt
|
||||
u16 ARAM : 1;
|
||||
u16 ARAM_mask : 1;
|
||||
u16 ARAM : 1;
|
||||
u16 ARAM_mask : 1;
|
||||
// DSP DMA interrupt
|
||||
u16 DSP : 1;
|
||||
u16 DSP_mask : 1;
|
||||
u16 DSP : 1;
|
||||
u16 DSP_mask : 1;
|
||||
// Other ???
|
||||
u16 DMAState : 1; // DSPGetDMAStatus() uses this flag. __ARWaitForDMA() uses it too...maybe it's just general DMA flag
|
||||
u16 unk3 : 1;
|
||||
u16 DSPInit : 1; // DSPInit() writes to this flag
|
||||
u16 pad : 4;
|
||||
u16 DMAState : 1; // DSPGetDMAStatus() uses this flag. __ARWaitForDMA() uses it too...maybe it's just general DMA flag
|
||||
u16 unk3 : 1;
|
||||
u16 DSPInit : 1; // DSPInit() writes to this flag
|
||||
u16 pad : 4;
|
||||
};
|
||||
};
|
||||
|
||||
@ -188,9 +188,9 @@ union ARAM_Info
|
||||
u16 Hex;
|
||||
struct
|
||||
{
|
||||
u16 size : 6;
|
||||
u16 unk : 1;
|
||||
u16 : 9;
|
||||
u16 size : 6;
|
||||
u16 unk : 1;
|
||||
u16 : 9;
|
||||
};
|
||||
};
|
||||
static ARAM_Info g_ARAM_Info;
|
||||
|
Reference in New Issue
Block a user