mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-12-16 04:08:48 +00:00
EE: Correct addresses for counter event test
This commit is contained in:
parent
2f5afc40b6
commit
a88abd4aa8
@ -526,7 +526,7 @@ void LB()
|
|||||||
cpuRegs.GPR.r[_Rt_].SD[0] = temp;
|
cpuRegs.GPR.r[_Rt_].SD[0] = temp;
|
||||||
|
|
||||||
// Force event test on EE counter read to improve read + interrupt syncing. Namely ESPN Games.
|
// Force event test on EE counter read to improve read + interrupt syncing. Namely ESPN Games.
|
||||||
if ((addr & 0xFFFFE0000) == 0x10000000)
|
if ((addr & 0xFFFFE000) == 0x10000000)
|
||||||
{
|
{
|
||||||
intUpdateCPUCycles();
|
intUpdateCPUCycles();
|
||||||
intEventTest();
|
intEventTest();
|
||||||
@ -542,7 +542,7 @@ void LBU()
|
|||||||
cpuRegs.GPR.r[_Rt_].UD[0] = temp;
|
cpuRegs.GPR.r[_Rt_].UD[0] = temp;
|
||||||
|
|
||||||
// Force event test on EE counter read to improve read + interrupt syncing. Namely ESPN Games.
|
// Force event test on EE counter read to improve read + interrupt syncing. Namely ESPN Games.
|
||||||
if ((addr & 0xFFFFE0000) == 0x10000000)
|
if ((addr & 0xFFFFE000) == 0x10000000)
|
||||||
{
|
{
|
||||||
intUpdateCPUCycles();
|
intUpdateCPUCycles();
|
||||||
intEventTest();
|
intEventTest();
|
||||||
@ -562,7 +562,7 @@ void LH()
|
|||||||
cpuRegs.GPR.r[_Rt_].SD[0] = temp;
|
cpuRegs.GPR.r[_Rt_].SD[0] = temp;
|
||||||
|
|
||||||
// Force event test on EE counter read to improve read + interrupt syncing. Namely ESPN Games.
|
// Force event test on EE counter read to improve read + interrupt syncing. Namely ESPN Games.
|
||||||
if ((addr & 0xFFFFE0000) == 0x10000000)
|
if ((addr & 0xFFFFE000) == 0x10000000)
|
||||||
{
|
{
|
||||||
intUpdateCPUCycles();
|
intUpdateCPUCycles();
|
||||||
intEventTest();
|
intEventTest();
|
||||||
@ -582,7 +582,7 @@ void LHU()
|
|||||||
cpuRegs.GPR.r[_Rt_].UD[0] = temp;
|
cpuRegs.GPR.r[_Rt_].UD[0] = temp;
|
||||||
|
|
||||||
// Force event test on EE counter read to improve read + interrupt syncing. Namely ESPN Games.
|
// Force event test on EE counter read to improve read + interrupt syncing. Namely ESPN Games.
|
||||||
if ((addr & 0xFFFFE0000) == 0x10000000)
|
if ((addr & 0xFFFFE000) == 0x10000000)
|
||||||
{
|
{
|
||||||
intUpdateCPUCycles();
|
intUpdateCPUCycles();
|
||||||
intEventTest();
|
intEventTest();
|
||||||
@ -602,7 +602,7 @@ void LW()
|
|||||||
cpuRegs.GPR.r[_Rt_].SD[0] = (s32)temp;
|
cpuRegs.GPR.r[_Rt_].SD[0] = (s32)temp;
|
||||||
|
|
||||||
// Force event test on EE counter read to improve read + interrupt syncing. Namely ESPN Games.
|
// Force event test on EE counter read to improve read + interrupt syncing. Namely ESPN Games.
|
||||||
if ((addr & 0xFFFFE0000) == 0x10000000)
|
if ((addr & 0xFFFFE000) == 0x10000000)
|
||||||
{
|
{
|
||||||
intUpdateCPUCycles();
|
intUpdateCPUCycles();
|
||||||
intEventTest();
|
intEventTest();
|
||||||
|
|||||||
@ -113,7 +113,7 @@ static void recLoad(u32 bits, bool sign)
|
|||||||
const u32 srcadr = g_cpuConstRegs[_Rs_].UL[0] + _Imm_;
|
const u32 srcadr = g_cpuConstRegs[_Rs_].UL[0] + _Imm_;
|
||||||
|
|
||||||
// Force event test on EE counter read to improve read + interrupt syncing. Namely ESPN Games.
|
// Force event test on EE counter read to improve read + interrupt syncing. Namely ESPN Games.
|
||||||
if (bits <= 32 && (srcadr & 0xFFFFE0000) == 0x10000000)
|
if (bits <= 32 && (srcadr & 0xFFFFE000) == 0x10000000)
|
||||||
needs_flush = true;
|
needs_flush = true;
|
||||||
|
|
||||||
x86reg = vtlb_DynGenReadNonQuad_Const(bits, sign, false, srcadr, alloc_cb);
|
x86reg = vtlb_DynGenReadNonQuad_Const(bits, sign, false, srcadr, alloc_cb);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user