mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 23:58:04 -04:00
32x: drc: new debug facility (pdb). Few fixes thanks to it.
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@863 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
2368651527
commit
5686d93123
14 changed files with 708 additions and 33 deletions
|
@ -1,5 +1,6 @@
|
|||
#include <string.h>
|
||||
#include "sh2.h"
|
||||
#include "../debug.h"
|
||||
#include "compiler.h"
|
||||
|
||||
#define I 0xf0
|
||||
|
@ -12,6 +13,7 @@ int sh2_init(SH2 *sh2, int is_slave)
|
|||
|
||||
memset(sh2, 0, sizeof(*sh2));
|
||||
sh2->is_slave = is_slave;
|
||||
pdb_register_cpu(sh2, PDBCT_SH2, is_slave ? "ssh2" : "msh2");
|
||||
#ifdef DRC_SH2
|
||||
ret = sh2_drc_init(sh2);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue