diff options
| author | comex <comexk@gmail.com> | 2014-10-04 00:18:58 -0400 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2014-10-04 00:18:58 -0400 |
| commit | 7bce3fcdf9447a22c00df0171f608f7cf9ef7573 (patch) | |
| tree | 96c566bc82578244450d91926ce38c568c78a2c2 /Source/Core/Common | |
| parent | 1af4043f146559e90c0e6fc04551aaff58d6fda1 (diff) | |
| parent | 85547d94beb3e5c01b1b5dda2235344e2ab22dc1 (diff) | |
Merge pull request #1174 from FioraAeterna/fifowriteaddrfix
JIT: properly remove FIFO write addresses when code is invalidated
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/BreakPoints.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/Common/BreakPoints.cpp b/Source/Core/Common/BreakPoints.cpp index d23e1fa0e2..db0cedf0bb 100644 --- a/Source/Core/Common/BreakPoints.cpp +++ b/Source/Core/Common/BreakPoints.cpp @@ -66,7 +66,7 @@ void BreakPoints::Add(const TBreakPoint& bp) { m_BreakPoints.push_back(bp); if (jit) - jit->GetBlockCache()->InvalidateICache(bp.iAddress, 4); + jit->GetBlockCache()->InvalidateICache(bp.iAddress, 4, true); } } @@ -82,7 +82,7 @@ void BreakPoints::Add(u32 em_address, bool temp) m_BreakPoints.push_back(pt); if (jit) - jit->GetBlockCache()->InvalidateICache(em_address, 4); + jit->GetBlockCache()->InvalidateICache(em_address, 4, true); } } @@ -94,7 +94,7 @@ void BreakPoints::Remove(u32 em_address) { m_BreakPoints.erase(i); if (jit) - jit->GetBlockCache()->InvalidateICache(em_address, 4); + jit->GetBlockCache()->InvalidateICache(em_address, 4, true); return; } } @@ -106,7 +106,7 @@ void BreakPoints::Clear() { for (const TBreakPoint& bp : m_BreakPoints) { - jit->GetBlockCache()->InvalidateICache(bp.iAddress, 4); + jit->GetBlockCache()->InvalidateICache(bp.iAddress, 4, true); } } |
