mirror of
https://github.com/bradgrantham/apple2e.git
synced 2024-06-09 08:29:28 +00:00
fix steady slowdown
This commit is contained in:
parent
0a9399d646
commit
ef922fa355
|
@ -1734,10 +1734,12 @@ void map_history_to_lines(const ModeHistory& history, unsigned long long current
|
||||||
map_mode_to_lines(current, byte2);
|
map_mode_to_lines(current, byte2);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!history.empty())
|
if(!history.empty()) {
|
||||||
most_recent_modepoint = history[history.size() - 1];
|
most_recent_modepoint = history[history.size() - 1];
|
||||||
|
}
|
||||||
|
|
||||||
map_mode_to_lines(most_recent_modepoint, current_byte);
|
map_mode_to_lines(most_recent_modepoint, current_byte);
|
||||||
|
most_recent_modepoint = { current_byte, get<1>(most_recent_modepoint) };
|
||||||
}
|
}
|
||||||
|
|
||||||
void iterate(const ModeHistory& history, unsigned long long current_byte, float megahertz)
|
void iterate(const ModeHistory& history, unsigned long long current_byte, float megahertz)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user