From 7293f9dc10c250145e54b671d771084d2fb935cc Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 23 Jan 2023 22:25:56 -0500 Subject: [PATCH] Remove extraneous brackets, add comment to self. --- Components/9918/Implementation/9918.cpp | 2 +- Components/9918/Implementation/9918Base.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Components/9918/Implementation/9918.cpp b/Components/9918/Implementation/9918.cpp index 1cdb68546..8b585ae12 100644 --- a/Components/9918/Implementation/9918.cpp +++ b/Components/9918/Implementation/9918.cpp @@ -301,7 +301,7 @@ void TMS9918::run_for(const HalfCycles cycles) { } const bool is_refresh = - (this->screen_mode_ == ScreenMode::Blank) || + this->screen_mode_ == ScreenMode::Blank || this->is_vertical_blank(); // TODO: an actual sprites-enabled flag. diff --git a/Components/9918/Implementation/9918Base.hpp b/Components/9918/Implementation/9918Base.hpp index 27ad00ea5..59781033d 100644 --- a/Components/9918/Implementation/9918Base.hpp +++ b/Components/9918/Implementation/9918Base.hpp @@ -86,7 +86,7 @@ struct LineBuffer { // this struct captures maximal potential detail there. struct { struct { - size_t offset = 0; + size_t offset = 0; // TODO: could presumably be much smaller. One byte maybe? uint8_t flags = 0; } names[40];