mirror of
https://github.com/jpd002/Play-.git
synced 2025-05-09 03:58:12 +03:00
Fixed memory corruption bug.
git-svn-id: http://svn.purei.org/purei/trunk@560 b36208d7-6611-0410-8bec-b1987f11c4a2
This commit is contained in:
parent
a2efc9e864
commit
8273d783d1
1 changed files with 4 additions and 0 deletions
|
@ -50,6 +50,10 @@ int CMipsExecutor::Execute(int cycles)
|
|||
{
|
||||
//We need to partition the space and compile the blocks
|
||||
PartitionFunction(address);
|
||||
|
||||
//Invalidate prevBlock because it might have been deleted by PartitionFunction
|
||||
prevBlock = NULL;
|
||||
|
||||
block = FindBlockStartingAt(address);
|
||||
if(block == NULL)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue