PPCRec: Use vector for segment list + deduplicate RA file

This commit is contained in:
Exzap 2022-11-04 01:35:12 +01:00
parent bbba516f08
commit d42ea6e5a8
9 changed files with 615 additions and 656 deletions

View file

@ -173,9 +173,8 @@ PPCRecFunction_t* PPCRecompiler_recompileFunction(PPCFunctionBoundaryTracker::PP
// collect list of PPC-->x64 entry points
entryPointsOut.clear();
for (sint32 s = 0; s < ppcImlGenContext.segmentListCount; s++)
for(PPCRecImlSegment_t* imlSegment : ppcImlGenContext.segmentList2)
{
PPCRecImlSegment_t* imlSegment = ppcImlGenContext.segmentList[s];
if (imlSegment->isEnterable == false)
continue;