remove regs union due to compiler issues

GP2X toolchains are padding the unions no matter what :(
This commit is contained in:
notaz 2013-10-12 00:40:40 +03:00
parent 9770f5316f
commit f47d0a2898
5 changed files with 144 additions and 160 deletions

View file

@ -385,7 +385,7 @@ void s68k_reg_write8(u32 a, u32 d)
//dprintf("s68k CDC reg addr: %x", d&0xf);
break;
case 7:
cdc_reg_w(d);
cdc_reg_w(d & 0xff);
return;
case 0xa:
elprintf(EL_CDREGS, "s68k set CDC dma addr");