mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
drc: revive x86 dynarec, support x86-64
This commit is contained in:
parent
91be5ebd10
commit
898d51a7fd
10 changed files with 285 additions and 123 deletions
|
@ -237,7 +237,7 @@ static void dump_regs(SH2 *sh2)
|
|||
printf("%csh2 SR: %03x PR: %08x\n", csh2, sh2->sr, sh2->pr);
|
||||
}
|
||||
|
||||
void do_sh2_cmp(SH2 *current)
|
||||
void REGPARM(1) do_sh2_cmp(SH2 *current)
|
||||
{
|
||||
static int current_slave;
|
||||
static u32 current_val;
|
||||
|
@ -251,6 +251,13 @@ void do_sh2_cmp(SH2 *current)
|
|||
int cycles;
|
||||
int i, ret;
|
||||
|
||||
#if 0
|
||||
sr = current->sr;
|
||||
current->sr &= 0x3f3;
|
||||
do_sh2_trace(current, (signed int)sr >> 12);
|
||||
current->sr = sr;
|
||||
return;
|
||||
#endif
|
||||
sh2ref[1].is_slave = 1;
|
||||
|
||||
while (1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue