mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
32x: some missed code from MAME, minor tweaks
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@784 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
266c6afa84
commit
3cf9570bac
2 changed files with 19 additions and 5 deletions
|
@ -69,7 +69,13 @@ int sh2_execute(SH2 *sh2_, int cycles)
|
|||
{
|
||||
UINT32 opcode;
|
||||
|
||||
opcode = RW(sh2->pc);
|
||||
if (sh2->delay)
|
||||
{
|
||||
opcode = RW(sh2->delay);
|
||||
sh2->pc -= 2;
|
||||
}
|
||||
else
|
||||
opcode = RW(sh2->pc);
|
||||
|
||||
sh2->delay = 0;
|
||||
sh2->pc += 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue