summaryrefslogtreecommitdiff
path: root/lib/nes/common/display.hh
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-02-06 16:28:39 +0100
committerHannes Schulze <haschu0103@outlook.de>2025-02-06 16:28:39 +0100
commit30b4364c772114303d9045677186a53855ea5343 (patch)
tree3ac3443cdea7274e688bc633fa12bf1e089d6624 /lib/nes/common/display.hh
parent64308c9e520dbd8e72b675d0ba064ecdaf9bd494 (diff)
implement in-game popups
Diffstat (limited to 'lib/nes/common/display.hh')
-rw-r--r--lib/nes/common/display.hh2
1 files changed, 1 insertions, 1 deletions
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: