summaryrefslogtreecommitdiff
path: root/lib/nes/common/display.hh
diff options
context:
space:
mode:
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: