fix conflict with 'hyper' identifier

This commit is contained in:
Christopher A. Mosher 2022-12-05 17:35:33 -05:00
parent 13f1865318
commit ba91b30956
2 changed files with 4 additions and 4 deletions

View File

@ -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
}

View File

@ -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;