simpler solution to regparm problem

This commit is contained in:
notaz 2013-08-15 02:46:16 +03:00
parent e4455c2342
commit 8b43bc737b
2 changed files with 5 additions and 5 deletions

View file

@ -294,7 +294,7 @@ void REGPARM(3) sh2_peripheral_write16(u32 a, u32 d, SH2 *sh2)
r[(a / 2) ^ 1] = d;
}
void sh2_peripheral_write32(u32 a, u32 d, SH2 *sh2)
void REGPARM(3) sh2_peripheral_write32(u32 a, u32 d, SH2 *sh2)
{
u32 *r = sh2->peri_regs;
elprintf(EL_32XP, "%csh2 peri w32 [%08x] %08x @%06x",