32x drc functional on ARM, random adjustments

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@824 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-10-22 20:16:32 +00:00
parent 274f95a9a9
commit 553c3eaa3a
12 changed files with 86 additions and 63 deletions

View file

@ -104,8 +104,14 @@ void sh2_execute(SH2 *sh2_, int cycles)
#else // DRC_TMP
#ifdef __i386__
#define REGPARM(x) __attribute__((regparm(x)))
#else
#define REGPARM(x)
#endif
// tmp
void __attribute__((regparm(2))) sh2_do_op(SH2 *sh2_, int opcode)
void REGPARM(2) sh2_do_op(SH2 *sh2_, int opcode)
{
sh2 = sh2_;
sh2->pc += 2;