s68k-side Silpheed hack (needed for EU version)

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@748 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-08-12 22:46:36 +00:00
parent ef090115c8
commit 07ceafdb04
4 changed files with 22 additions and 5 deletions

View file

@ -149,8 +149,8 @@ int OpMove(int op)
}
#if CYCLONE_FOR_GENESIS && !MEMHANDLERS_CHANGE_CYCLES
// this is a bit hacky
if ((tea==0x39||(tea>=0x10&&tea<0x30))&&size>=1)
// this is a bit hacky (device handlers might modify cycles)
if (tea==0x39||((0x10<=tea&&tea<0x30)&&size>=1))
ot(" ldr r5,[r7,#0x5c] ;@ Load Cycles\n");
#endif