mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
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:
parent
98da48e418
commit
679af8a3f4
19 changed files with 1505 additions and 46 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue