From fa8929eb3d2f0173e85976177c46b623e2990f28 Mon Sep 17 00:00:00 2001 From: EkeEke Date: Mon, 15 Aug 2016 21:53:12 +0200 Subject: [PATCH] [Core/CPU] improved 68k auto-vectored interrupts acknowledge cycle timing accuracy (fixes background color corruption during Bubsy cutscenes) --- builds/genesis_plus_gx_libretro.dll | Bin 2486208 -> 2486208 bytes builds/genplus_cube.dol | Bin 3393184 -> 3393184 bytes builds/genplus_wii.dol | Bin 3501344 -> 3501344 bytes core/m68k/m68kcpu.h | 14 +++++++------- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/builds/genesis_plus_gx_libretro.dll b/builds/genesis_plus_gx_libretro.dll index f4de3e0441994122734be5aae9f91e4d4a2b699e..b590dfaae3984fad91827a44cc564269f59e39ec 100644 GIT binary patch delta 211 zcmYk$ISztg6h&bW1SeEb!Fgsm#{Jk?yznQ6L@Qc5YYRi{*n^G9EsXBK4XD?SoP7Ps z9*LgOUKua#eAumw(>vTkpbH8DLtqMu0!v^EN`kVWBB%;#0!L66Gz85H+(0=SJy-Nq zE_u|VHg(dk@^7Yd*K#G#*q=n7*r$NH)T2HP(oa0Jy#HEcABQxeF->SnGn&(amZ^OV Guj?OR5nUz# delta 211 zcmYkryAHts7zR+)YTfEmv@WIYi`Bv#7{oIf{Ab?_RFZz0ZH!9|BZVKOl;tgP%N9K+S)_(t>P3mzXO zknbqONuZJ>MH-C^S#spjDNv+DnF>{E)M?P9g+ZGRT}*oP88BqTmAOX4*gSzequg${qhWMW)cS=k&+IEGj9jpoZ2JibaG z-%*H@KqX0vG#VMQw&rFnAFK{`q&$qrrNyj1<0O5{bcBb}v77{%Ay{SQtCMVSBq delta 181 zcmYksISztQ002=@#1(hMecwd|rN>LzTTH?QOlUcRg$XCIvEmNDp!Jtz@+SO!l~8)3 zkR^vo9*qJ;N|dQkMW;rc22EPD>0r>sq(`3tLq?35FlEM^1xr?}*|25Do&(2^WeVL@ oQU$iKjKC9?=F3SZ=`39&JMx6{QuTKxl^-XLbd_#VoVfSLAEOaMmjD0& diff --git a/core/m68k/m68kcpu.h b/core/m68k/m68kcpu.h index 317f2cd..b390438 100644 --- a/core/m68k/m68kcpu.h +++ b/core/m68k/m68kcpu.h @@ -632,13 +632,13 @@ static const uint16 m68ki_exception_cycle_table[256] = 4*MUL, /* 22: RESERVED */ 4*MUL, /* 23: RESERVED */ 44*MUL, /* 24: Spurious Interrupt */ - 44*MUL, /* 25: Level 1 Interrupt Autovector */ - 44*MUL, /* 26: Level 2 Interrupt Autovector */ - 44*MUL, /* 27: Level 3 Interrupt Autovector */ - 44*MUL, /* 28: Level 4 Interrupt Autovector */ - 44*MUL, /* 29: Level 5 Interrupt Autovector */ - 44*MUL, /* 30: Level 6 Interrupt Autovector */ - 44*MUL, /* 31: Level 7 Interrupt Autovector */ + 54*MUL, /* 25: Level 1 Interrupt Autovector */ + 54*MUL, /* 26: Level 2 Interrupt Autovector */ + 54*MUL, /* 27: Level 3 Interrupt Autovector */ + 54*MUL, /* 28: Level 4 Interrupt Autovector */ + 54*MUL, /* 29: Level 5 Interrupt Autovector */ + 54*MUL, /* 30: Level 6 Interrupt Autovector */ + 54*MUL, /* 31: Level 7 Interrupt Autovector */ 34*MUL, /* 32: TRAP #0 -- ASG: chanaged from 38 */ 34*MUL, /* 33: TRAP #1 */ 34*MUL, /* 34: TRAP #2 */