1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-30 04:50:08 +00:00

Resolve GCC complaint.

This commit is contained in:
Thomas Harte 2023-02-01 14:28:19 -05:00
parent 3636383b1f
commit 4cc34fd557

View File

@ -41,6 +41,7 @@ enum class ScreenMode {
constexpr int pixels_per_byte(ScreenMode mode) { constexpr int pixels_per_byte(ScreenMode mode) {
switch(mode) { switch(mode) {
default:
case ScreenMode::Blank: return 0; case ScreenMode::Blank: return 0;
case ScreenMode::Text: return 6; case ScreenMode::Text: return 6;
case ScreenMode::MultiColour: return 2; case ScreenMode::MultiColour: return 2;