mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
use dolphin-style typedefs in dsp-lle testing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2793 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -55,28 +55,28 @@ enum partype_t
|
||||
typedef struct opcpar_t
|
||||
{
|
||||
partype_t type;
|
||||
uint8 size;
|
||||
uint8 loc;
|
||||
sint8 lshift;
|
||||
uint16 mask;
|
||||
u8 size;
|
||||
u8 loc;
|
||||
s8 lshift;
|
||||
u16 mask;
|
||||
} opcpar_t;
|
||||
|
||||
typedef struct opc_t
|
||||
{
|
||||
const char* name;
|
||||
uint16 opcode;
|
||||
uint16 opcode_mask;
|
||||
uint8 size;
|
||||
uint8 param_count;
|
||||
u16 opcode;
|
||||
u16 opcode_mask;
|
||||
u8 size;
|
||||
u8 param_count;
|
||||
opcpar_t params[8];
|
||||
} opc_t;
|
||||
|
||||
extern opc_t opcodes[];
|
||||
extern const uint32 opcodes_size;
|
||||
extern const u32 opcodes_size;
|
||||
extern opc_t opcodes_ext[];
|
||||
extern const uint32 opcodes_ext_size;
|
||||
extern const u32 opcodes_ext_size;
|
||||
|
||||
inline uint16 swap16(uint16 x)
|
||||
inline u16 swap16(u16 x)
|
||||
{
|
||||
return((x >> 8) | (x << 8));
|
||||
}
|
||||
|
Reference in New Issue
Block a user