summaryrefslogtreecommitdiff
path: root/lib/nes/common
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nes/common')
-rw-r--r--lib/nes/common/display.hh2
-rw-r--r--lib/nes/common/rgb.hh2
2 files changed, 2 insertions, 2 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:
diff --git a/lib/nes/common/rgb.hh b/lib/nes/common/rgb.hh
index 0b8ec1c..b8cd0f3 100644
--- a/lib/nes/common/rgb.hh
+++ b/lib/nes/common/rgb.hh
@@ -8,7 +8,7 @@ namespace nes
class rgb
{
public:
- explicit rgb() = default;
+ rgb() = default;
explicit rgb(u8 const r, u8 const g, u8 const b)
: r{ r }