mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
idle loop hack, psp bugfix, plat debug str
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@566 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
a7efb231fe
commit
fcf94fcc20
10 changed files with 39 additions and 15 deletions
|
@ -19263,8 +19263,7 @@ OPCODE(0x4E72)
|
|||
ASP = res;
|
||||
}
|
||||
m68kcontext.execinfo |= FM68K_HALTED;
|
||||
m68kcontext.io_cycle_counter = 0;
|
||||
RET(4)
|
||||
RET0()
|
||||
}
|
||||
|
||||
// RTE
|
||||
|
@ -39984,8 +39983,7 @@ OPCODE(0x6001_idle)
|
|||
PC += ((s8)(Opcode & 0xFE)) >> 1;
|
||||
#endif
|
||||
UPDATE_IDLE_COUNT
|
||||
m68kcontext.io_cycle_counter = 10;
|
||||
RET(10)
|
||||
RET0()
|
||||
}
|
||||
|
||||
// BCC
|
||||
|
@ -39995,7 +39993,8 @@ OPCODE(0x6601_idle)
|
|||
{
|
||||
UPDATE_IDLE_COUNT
|
||||
PC += ((s8)(Opcode & 0xFE)) >> 1;
|
||||
m68kcontext.io_cycle_counter = 8;
|
||||
//if (idle_hit)
|
||||
RET0()
|
||||
}
|
||||
RET(8)
|
||||
}
|
||||
|
@ -40006,7 +40005,8 @@ OPCODE(0x6701_idle)
|
|||
{
|
||||
UPDATE_IDLE_COUNT
|
||||
PC += ((s8)(Opcode & 0xFE)) >> 1;
|
||||
m68kcontext.io_cycle_counter = 8;
|
||||
//if (idle_hit)
|
||||
RET0()
|
||||
}
|
||||
RET(8)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue