sh2 drc, fixes for mips, ppc, i386 backends (mostly 64 bit related)

This commit is contained in:
kub 2022-01-19 17:09:55 +00:00
parent b6887843e5
commit 05138bbd89
8 changed files with 31 additions and 25 deletions

View file

@ -115,6 +115,7 @@ void sh2_pack(const SH2 *sh2, unsigned char *buff)
p[0] = sh2->pending_int_irq;
p[1] = sh2->pending_int_vector;
p[2] = sh2->m68krcycles_done;
}
void sh2_unpack(SH2 *sh2, const unsigned char *buff)
@ -127,6 +128,7 @@ void sh2_unpack(SH2 *sh2, const unsigned char *buff)
sh2->pending_int_irq = p[0];
sh2->pending_int_vector = p[1];
sh2->test_irq = 1;
sh2->m68krcycles_done = p[2];
}
#ifdef DRC_CMP