From 95a039c8d1f926365c8bf3c20b09ec6250e60d8a Mon Sep 17 00:00:00 2001 From: Markus Gerber Date: Fri, 7 Feb 2025 12:51:29 +0100 Subject: added internal buffer to get rid of display::get --- lib/nes/common/display.hh | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/nes/common/display.hh') 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; -- cgit v1.3.1