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:
parent
3636383b1f
commit
4cc34fd557
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user