From 31260facef5380ac49886f1f7aed578fee74bc51 Mon Sep 17 00:00:00 2001 From: Christian Speckner Date: Fri, 2 Apr 2021 00:18:52 +0200 Subject: [PATCH] Typo. --- src/emucore/Keyboard.cxx | 4 ++-- src/emucore/Keyboard.hxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/emucore/Keyboard.cxx b/src/emucore/Keyboard.cxx index 83eef8089..d0ee168a7 100644 --- a/src/emucore/Keyboard.cxx +++ b/src/emucore/Keyboard.cxx @@ -64,7 +64,7 @@ Keyboard::ColumnState Keyboard::processColumn(const Event::Type buttons[]) { for (uInt8 i = 0; i < 4; i++) if (myEvent.get(buttons[i]) && getPin(signals[i])) return ColumnState::vcc; - return ColumnState::notConneccted; + return ColumnState::notConnected; } Int32 Keyboard::columnStateToAnalogSignal(ColumnState state) const { @@ -75,7 +75,7 @@ Int32 Keyboard::columnStateToAnalogSignal(ColumnState state) const { case ColumnState::vcc: return 0; - case ColumnState::notConneccted: + case ColumnState::notConnected: return INTERNAL_RESISTANCE; default: diff --git a/src/emucore/Keyboard.hxx b/src/emucore/Keyboard.hxx index ca1442194..7ff9001e6 100644 --- a/src/emucore/Keyboard.hxx +++ b/src/emucore/Keyboard.hxx @@ -64,7 +64,7 @@ class Keyboard : public Controller private: enum class ColumnState { - vcc, gnd, notConneccted + vcc, gnd, notConnected }; private: