From 30b4364c772114303d9045677186a53855ea5343 Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Thu, 6 Feb 2025 16:28:39 +0100 Subject: implement in-game popups --- lib/nes/common/display.hh | 2 +- lib/nes/common/rgb.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/nes/common') diff --git a/lib/nes/common/display.hh b/lib/nes/common/display.hh index eb35366..f7d53c1 100644 --- a/lib/nes/common/display.hh +++ b/lib/nes/common/display.hh @@ -25,7 +25,7 @@ namespace nes virtual auto switch_buffers() -> void = 0; /// Update the pixel at the given position in the back buffer. virtual auto set(u32 x, u32 y, rgb value) -> void = 0; - /// Load the pixel value at the given position in the back buffer. + /// Load the pixel value at the given position in the front buffer. virtual auto get(u32 x, u32 y) const -> rgb = 0; protected: diff --git a/lib/nes/common/rgb.hh b/lib/nes/common/rgb.hh index 0b8ec1c..b8cd0f3 100644 --- a/lib/nes/common/rgb.hh +++ b/lib/nes/common/rgb.hh @@ -8,7 +8,7 @@ namespace nes class rgb { public: - explicit rgb() = default; + rgb() = default; explicit rgb(u8 const r, u8 const g, u8 const b) : r{ r } -- cgit v1.3.1