mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
remove regs union due to compiler issues
GP2X toolchains are padding the unions no matter what :(
This commit is contained in:
parent
9770f5316f
commit
f47d0a2898
5 changed files with 144 additions and 160 deletions
|
@ -434,15 +434,7 @@ typedef struct
|
|||
unsigned char pcm_ram[0x10000];
|
||||
unsigned char pcm_ram_b[0x10][0x1000];
|
||||
};
|
||||
union {
|
||||
unsigned char s68k_regs[0x200]; // 110000: GA, not CPU regs
|
||||
union {
|
||||
struct {
|
||||
unsigned char h;
|
||||
unsigned char l;
|
||||
} byte;
|
||||
} regs[0x200/2];
|
||||
};
|
||||
unsigned char s68k_regs[0x200]; // 110000: GA, not CPU regs
|
||||
unsigned char bram[0x2000]; // 110200: 8K
|
||||
struct mcd_misc m; // 112200: misc
|
||||
struct mcd_pcm pcm; // 112240:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue