how could this go on unnoticed for so long?
This commit is contained in:
RSDuck 2021-08-31 04:53:25 +02:00
parent d20543c119
commit 8d2746e517
2 changed files with 2 additions and 2 deletions

View File

@ -999,7 +999,7 @@ void InvalidateByAddr(u32 localAddr)
u32 addr = block->Literals()[j];
if (addr == localAddr)
{
if (InvalidLiterals.Find(localAddr) != -1)
if (InvalidLiterals.Find(localAddr) == -1)
{
InvalidLiterals.Add(localAddr);
JIT_DEBUGPRINT("found invalid literal %d\n", InvalidLiterals.Length);