Skip to content

Commit

Permalink
Make PaddleReader constants private, to guard against same variable n…
Browse files Browse the repository at this point in the history
…ames used elsewhere.
  • Loading branch information
sa666666 committed Sep 9, 2017
1 parent 391601d commit 483013b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
7 changes: 0 additions & 7 deletions src/emucore/tia/PaddleReader.cxx
Expand Up @@ -19,13 +19,6 @@

#include "PaddleReader.hxx"

static constexpr double
C = 68e-9,
RPOT = 1e6,
USUPP = 5;

static constexpr double TRIPPOINT_LINES = 379;

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PaddleReader::PaddleReader()
{
Expand Down
8 changes: 7 additions & 1 deletion src/emucore/tia/PaddleReader.hxx
Expand Up @@ -65,7 +65,13 @@ class PaddleReader : public Serializable

bool myIsDumped;

static constexpr double R0 = 1.5e3;
static constexpr double
R0 = 1.5e3,
C = 68e-9,
RPOT = 1e6,
USUPP = 5;

static constexpr double TRIPPOINT_LINES = 379;

private:
PaddleReader(const PaddleReader&) = delete;
Expand Down

0 comments on commit 483013b

Please sign in to comment.