From ba91b30956c2c941a74f101ebbf2d9fc219dfc73 Mon Sep 17 00:00:00 2001 From: "Christopher A. Mosher" Date: Mon, 5 Dec 2022 17:35:33 -0500 Subject: [PATCH] fix conflict with 'hyper' identifier --- src/screenimage.cpp | 6 +++--- src/screenimage.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/screenimage.cpp b/src/screenimage.cpp index ac81cb9..3ef11de 100644 --- a/src/screenimage.cpp +++ b/src/screenimage.cpp @@ -55,7 +55,7 @@ class ScreenException { ScreenImage::ScreenImage() : fullscreen(false), -hyper(false), +hyper_a2_speed(false), buffer(true), fillLines(true), display(AnalogTV::TV_OLD_COLOR), @@ -180,7 +180,7 @@ void ScreenImage::drawFnKeys() { else invertText(76, 43, 55); // SCAN-LINES - if (this->hyper) + if (this->hyper_a2_speed) invertText(77, 102, 109); // HYPER if (this->buffer) @@ -206,7 +206,7 @@ void ScreenImage::cycleDisplayLabel() { } void ScreenImage::toggleHyperLabel() { - this->hyper = !this->hyper; + this->hyper_a2_speed = !this->hyper_a2_speed; invertText(77, 102, 109); // HYPER } diff --git a/src/screenimage.h b/src/screenimage.h index 448f577..1e447a9 100644 --- a/src/screenimage.h +++ b/src/screenimage.h @@ -35,7 +35,7 @@ private: unsigned int* pixels; int screen_pitch; bool fullscreen; - bool hyper; + bool hyper_a2_speed; bool buffer; bool fillLines; AnalogTV::DisplayType display;