mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
timing hack removed, seems to be no longer needed
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@242 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
e28a980fb7
commit
d5715559cf
6 changed files with 5 additions and 17 deletions
|
@ -143,16 +143,8 @@ int OpNeg(int op)
|
|||
use=OpBase(op,size);
|
||||
if (op!=use) { OpUse(op,use); return 0; } // Use existing handler
|
||||
|
||||
OpStart(op,ea); Cycles=size<2?4:6;
|
||||
if(ea >= 0x10) {
|
||||
Cycles*=2;
|
||||
#if CYCLONE_FOR_GENESIS
|
||||
// This is same as in Starscream core, CLR uses only 6 cycles for memory EAs.
|
||||
// May be this is similar case as with TAS opcode, but this time the dummy
|
||||
// read is ignored somehow? Without this hack Fatal Rewind hangs even in Gens.
|
||||
if(type==1&&size<2) Cycles-=2;
|
||||
#endif
|
||||
}
|
||||
OpStart(op,ea); Cycles=size<2?4:6;
|
||||
if(ea >= 0x10) Cycles*=2;
|
||||
|
||||
EaCalc (10,0x003f,ea,size,0,0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue