32x: drc: inline dispatcher and irq handling; do write-caused irqs

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@849 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-12-29 22:43:10 +00:00
parent efd100fc0a
commit e05b81fc5b
10 changed files with 535 additions and 246 deletions

View file

@ -36,8 +36,6 @@ void sh2_reset(SH2 *sh2)
void sh2_do_irq(SH2 *sh2, int level, int vector)
{
sh2->irq_callback(sh2->is_slave, level);
sh2->r[15] -= 4;
p32x_sh2_write32(sh2->r[15], sh2->sr, sh2); /* push SR onto stack */
sh2->r[15] -= 4;