1
0
mirror of https://github.com/lefticus/6502-cpp.git synced 2024-12-22 01:30:03 +00:00

Re-enable optimizations

This commit is contained in:
Jason Turner 2021-05-17 13:54:55 -06:00
parent c6a1a31533
commit e2b2601705

View File

@ -1012,9 +1012,9 @@ std::vector<mos6502> run(const Personality &personality, std::istream &input)
} }
} }
// while (optimize(new_instructions, personality)) { while (optimize(new_instructions, personality)) {
// do it however many times it takes // do it however many times it takes
// } }
int branch_patch_count = 0; int branch_patch_count = 0;
while (fix_long_branches(new_instructions, branch_patch_count)) { while (fix_long_branches(new_instructions, branch_patch_count)) {