From 3af97d4069e99220546f4ac2d988874bfee42907 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 26 Apr 2016 19:57:05 -0400 Subject: [PATCH] Eliminated redundant variable. --- Machines/Atari2600/Atari2600.cpp | 3 --- Machines/Atari2600/Atari2600.hpp | 2 -- 2 files changed, 5 deletions(-) diff --git a/Machines/Atari2600/Atari2600.cpp b/Machines/Atari2600/Atari2600.cpp index 5cfcb92d7..4d12af989 100644 --- a/Machines/Atari2600/Atari2600.cpp +++ b/Machines/Atari2600/Atari2600.cpp @@ -14,7 +14,6 @@ using namespace Atari2600; static const int horizontalTimerReload = 227; Machine::Machine() : - _timestamp(0), _horizontalTimer(0), _lastOutputStateDuration(0), _lastOutputState(OutputState::Sync), @@ -257,8 +256,6 @@ void Machine::output_pixels(unsigned int count) if(!_horizontalTimer) _vBlankExtend = false; - - _timestamp ++; } } diff --git a/Machines/Atari2600/Atari2600.hpp b/Machines/Atari2600/Atari2600.hpp index 46f990ba2..12b0c4d9e 100644 --- a/Machines/Atari2600/Atari2600.hpp +++ b/Machines/Atari2600/Atari2600.hpp @@ -37,8 +37,6 @@ class Machine: public CPU6502::Processor { uint8_t *_rom, *_romPages[4], _ram[128]; size_t _rom_size; - uint64_t _timestamp; - // the timer unsigned int _piaTimerValue; unsigned int _piaTimerShift, _writtenPiaTimerShift;