mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
sh2 drc, fixes for mips, ppc, i386 backends (mostly 64 bit related)
This commit is contained in:
parent
b6887843e5
commit
05138bbd89
8 changed files with 31 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue