mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 23:37:46 -04:00
32x: change ppc handling for better logging
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@791 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
db1d3564e6
commit
a44737c187
2 changed files with 6 additions and 3 deletions
|
@ -71,15 +71,18 @@ int sh2_execute(SH2 *sh2_, int cycles)
|
|||
|
||||
if (sh2->delay)
|
||||
{
|
||||
sh2->ppc = sh2->delay;
|
||||
opcode = RW(sh2->delay);
|
||||
sh2->pc -= 2;
|
||||
}
|
||||
else
|
||||
{
|
||||
sh2->ppc = sh2->pc;
|
||||
opcode = RW(sh2->pc);
|
||||
}
|
||||
|
||||
sh2->delay = 0;
|
||||
sh2->pc += 2;
|
||||
sh2->ppc = sh2->pc;
|
||||
|
||||
switch (opcode & ( 15 << 12))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue