You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
Fix insn_disasm build warnings
This commit is contained in:
@@ -21,15 +21,15 @@ extern far char *parse_map(u32);
|
||||
static char insn_as_string[100];
|
||||
|
||||
typedef struct __attribute__((packed)) {
|
||||
u8 rd : 5;
|
||||
u8 shift_amt : 5;
|
||||
u8 function : 6;
|
||||
u16 rd : 5;
|
||||
u16 shift_amt : 5;
|
||||
u16 function : 6;
|
||||
} RTypeData;
|
||||
|
||||
typedef struct __attribute__((packed)) {
|
||||
u8 opcode : 6;
|
||||
u8 rs : 5;
|
||||
u8 rt : 5;
|
||||
u16 opcode : 6;
|
||||
u16 rs : 5;
|
||||
u16 rt : 5;
|
||||
union {
|
||||
RTypeData rdata;
|
||||
u16 immediate;
|
||||
@@ -44,8 +44,8 @@ typedef union {
|
||||
typedef struct __attribute__((packed)) {
|
||||
u32 type;
|
||||
u32 arbitraryParam;
|
||||
u8 opcode : 6;
|
||||
u8 function : 6;
|
||||
u16 opcode : 6;
|
||||
u16 function : 6;
|
||||
u8 name[10];
|
||||
} InsnTemplate;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user