CPU/CodeCache: Add InvalidateAll() method

This commit is contained in:
Connor McLaughlin
2021-12-02 18:40:31 +10:00
parent fe2062ff9f
commit c440593788
2 changed files with 47 additions and 27 deletions

View File

@ -140,6 +140,9 @@ void Reinitialize();
/// Invalidates all blocks which are in the range of the specified code page.
void InvalidateBlocksWithPageIndex(u32 page_index);
/// Invalidates all blocks in the cache.
void InvalidateAll();
template<PGXPMode pgxp_mode>
void InterpretCachedBlock(const CodeBlock& block);