summaryrefslogtreecommitdiff
path: root/lib/nes/sys/controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nes/sys/controller.cc')
-rw-r--r--lib/nes/sys/controller.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/nes/sys/controller.cc b/lib/nes/sys/controller.cc
index 910ef57..92dd897 100644
--- a/lib/nes/sys/controller.cc
+++ b/lib/nes/sys/controller.cc
@@ -1,6 +1,6 @@
#include "nes/sys/controller.hh"
-namespace nes
+namespace nes::sys
{
auto controller::read() -> std::uint8_t
{
@@ -15,4 +15,4 @@ namespace nes
strobing_ = value & 1;
if (strobing_) { index_ = 0; }
}
-} // namespace nes \ No newline at end of file
+} // namespace nes::sys \ No newline at end of file