summaryrefslogtreecommitdiff
path: root/lib/nes/common
diff options
context:
space:
mode:
authorMarkus Gerber <markus.gerber@fau.de>2025-02-07 12:51:29 +0100
committerMarkus Gerber <markus.gerber@fau.de>2025-02-07 12:51:46 +0100
commit95a039c8d1f926365c8bf3c20b09ec6250e60d8a (patch)
treed13af527cf4b59794448308d92574290c352aed8 /lib/nes/common
parente39508e6f2bac8ae171b496bc3ece7eaa2e63114 (diff)
added internal buffer to get rid of display::get
Diffstat (limited to 'lib/nes/common')
-rw-r--r--lib/nes/common/display.hh2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/nes/common/display.hh b/lib/nes/common/display.hh
index f7d53c1..5e9f4d7 100644
--- a/lib/nes/common/display.hh
+++ b/lib/nes/common/display.hh
@@ -25,8 +25,6 @@ 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 front buffer.
- virtual auto get(u32 x, u32 y) const -> rgb = 0;
protected:
explicit display() = default;