mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-19 23:29:05 +00:00
Eliminated redundant variable.
This commit is contained in:
parent
345348aeb7
commit
3af97d4069
@ -14,7 +14,6 @@ using namespace Atari2600;
|
|||||||
static const int horizontalTimerReload = 227;
|
static const int horizontalTimerReload = 227;
|
||||||
|
|
||||||
Machine::Machine() :
|
Machine::Machine() :
|
||||||
_timestamp(0),
|
|
||||||
_horizontalTimer(0),
|
_horizontalTimer(0),
|
||||||
_lastOutputStateDuration(0),
|
_lastOutputStateDuration(0),
|
||||||
_lastOutputState(OutputState::Sync),
|
_lastOutputState(OutputState::Sync),
|
||||||
@ -257,8 +256,6 @@ void Machine::output_pixels(unsigned int count)
|
|||||||
|
|
||||||
if(!_horizontalTimer)
|
if(!_horizontalTimer)
|
||||||
_vBlankExtend = false;
|
_vBlankExtend = false;
|
||||||
|
|
||||||
_timestamp ++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,6 @@ class Machine: public CPU6502::Processor<Machine> {
|
|||||||
uint8_t *_rom, *_romPages[4], _ram[128];
|
uint8_t *_rom, *_romPages[4], _ram[128];
|
||||||
size_t _rom_size;
|
size_t _rom_size;
|
||||||
|
|
||||||
uint64_t _timestamp;
|
|
||||||
|
|
||||||
// the timer
|
// the timer
|
||||||
unsigned int _piaTimerValue;
|
unsigned int _piaTimerValue;
|
||||||
unsigned int _piaTimerShift, _writtenPiaTimerShift;
|
unsigned int _piaTimerShift, _writtenPiaTimerShift;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user