Skip to content

Commit

Permalink
Ensure switch is complete.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomHarte committed May 1, 2024
1 parent 7545786 commit 3d61861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Machines/Acorn/Archimedes/Video.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ struct Video {
void set_phase(Phase phase) {
if(time_in_phase_) {
switch(phase_) {
case Phase::Sync: crt_.output_sync(time_in_phase_); break;
default: crt_.output_sync(time_in_phase_); break;
case Phase::Blank: crt_.output_blank(time_in_phase_); break;
case Phase::Border: crt_.output_level<uint16_t>(time_in_phase_, phased_border_colour_); break;
case Phase::Display: flush_pixels(); break;
Expand Down

0 comments on commit 3d61861

Please sign in to comment.