32x: interpreter-wrap drc works (demos only). SVP drc refactoring.

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@812 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-10-13 10:07:27 +00:00
parent 98da48e418
commit 679af8a3f4
19 changed files with 1505 additions and 46 deletions

View file

@ -1,12 +1,19 @@
#include <string.h>
#include "sh2.h"
#include "compiler.h"
#define I 0xf0
void sh2_init(SH2 *sh2, int is_slave)
int sh2_init(SH2 *sh2, int is_slave)
{
int ret = 0;
memset(sh2, 0, sizeof(*sh2));
sh2->is_slave = is_slave;
#ifdef DRC_SH2
ret = sh2_drc_init(sh2);
#endif
return ret;
}
void sh2_reset(SH2 *sh2)