mirror of
https://github.com/libretro/Play-.git
synced 2025-02-26 06:25:30 +00:00
ClearActiveBlocks is not a thing anymore.
Was broken due to caching mechanism used by VuExecutor.
This commit is contained in:
parent
7f4c3fd744
commit
f8faff57c1
@ -218,11 +218,6 @@ public:
|
||||
}
|
||||
|
||||
virtual void Reset()
|
||||
{
|
||||
ClearActiveBlocks();
|
||||
}
|
||||
|
||||
void ClearActiveBlocks()
|
||||
{
|
||||
m_blockLookup.Clear();
|
||||
m_blocks.clear();
|
||||
@ -409,7 +404,7 @@ protected:
|
||||
assert(scanEnd > scanStart);
|
||||
|
||||
std::set<CBasicBlock*> clearedBlocks;
|
||||
for(uint32 address = scanStart; address <= scanEnd; address += 4)
|
||||
for(uint32 address = scanStart; address < scanEnd; address += 4)
|
||||
{
|
||||
auto block = m_blockLookup.FindBlockAt(address);
|
||||
if(block->IsEmpty()) continue;
|
||||
|
@ -171,7 +171,7 @@ void CVpu::ExecuteMicroProgram(uint32 nAddress)
|
||||
|
||||
void CVpu::InvalidateMicroProgram()
|
||||
{
|
||||
m_executor.ClearActiveBlocks();
|
||||
m_executor.ClearActiveBlocksInRange(0, (m_number == 0) ? PS2::MICROMEM0SIZE : PS2::MICROMEM1SIZE);
|
||||
}
|
||||
|
||||
void CVpu::ProcessXgKick(uint32 address)
|
||||
|
Loading…
x
Reference in New Issue
Block a user