summaryrefslogtreecommitdiff
path: root/lib/nes/display.cc
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-01-23 22:10:55 +0100
committerHannes Schulze <haschu0103@outlook.de>2025-01-23 22:10:55 +0100
commit0f24863561b7c609395b59ab73e634509d3111d8 (patch)
treeb89c6a8db88f0c1c8c55d41d733b6cfa566a08f4 /lib/nes/display.cc
parentb1d1573702f21e3104606d6ade5f5d39ec86a33a (diff)
copy reference implementation
Diffstat (limited to 'lib/nes/display.cc')
-rw-r--r--lib/nes/display.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/nes/display.cc b/lib/nes/display.cc
deleted file mode 100644
index 4ff1d5f..0000000
--- a/lib/nes/display.cc
+++ /dev/null
@@ -1,16 +0,0 @@
-#include "nes/display.hh"
-#include "nes/util/rgb.hh"
-
-namespace nes
-{
- auto display::clear(rgb const color) -> void
- {
- for (auto y = unsigned{ 0 }; y < height; ++y)
- {
- for (auto x = unsigned{ 0 }; x < width; ++x)
- {
- set(x, y, color);
- }
- }
- }
-} // namespace nes \ No newline at end of file