Reset PPTC Carriers on invalidation

See merge request ryubing/ryujinx!26
This commit is contained in:
LotP 2025-04-24 12:48:22 -05:00 committed by GreemDev
parent 0ae536a757
commit c4ea0e0df2

View File

@ -566,9 +566,7 @@ namespace ARMeilleure.Translation.PTC
{ {
if (AreCarriersEmpty() || ContainsBlacklistedFunctions()) if (AreCarriersEmpty() || ContainsBlacklistedFunctions())
{ {
_infosStream.SetLength(0); ResetCarriersIfNeeded();
_relocsStream.SetLength(0);
_unwindInfosStream.SetLength(0);
return; return;
} }