adapted to Kick Assembler 65C02 support, slightly improved build segment tool

This commit is contained in:
FeralChild64 committed 2019-12-19 22:30:05 +01:00
1 parent 03b4e5146c
commit 42c516f44f
3 files changed
+42 -28

No files matched your search

+9 -1
View File
@@ -748,7 +748,8 @@ void BinningProblem::performObviousSteps(DualStream &logOutput)
std::string spacing;
bool repeat = true;
bool repeat = true;
bool lastGap = false;
while (repeat && !floatingRoutines.empty() && !gaps.empty())
{
repeat = false;
@@ -766,6 +767,13 @@ void BinningProblem::performObviousSteps(DualStream &logOutput)
}
}
if (!lastGap && gaps.size() == 1)
{
lastGap = true;
logOutput << "selected gap: $" << std::hex << gapAddress << std::dec <<
" (size: " << gaps[gapAddress] << ") - the last remaining" << "\n";
}
if (matchingGaps == 1)
{
// Routine can only be placed in this particular gap - do so