Skip to content

Commit

Permalink
Removed unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
istvan-v committed Dec 30, 2016
1 parent edcd52e commit a9617c1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/via6522.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ namespace Plus4 {
ca2Input = true;
cb1Input = true;
cb2Input = true;
#if 0
// FIXME: shift register is unimplemented
shiftRegister = 0x00;
#endif
irqState = false;
this->reset();
}
Expand Down Expand Up @@ -71,7 +74,10 @@ namespace Plus4 {
cb1PositiveEdge = false;
cb2Output = true;
cb2IsOutput = false;
#if 0
// FIXME: shift register is unimplemented
shiftCounter = 0;
#endif
updatePortA();
updatePortB();
if (irqState) {
Expand Down
3 changes: 3 additions & 0 deletions src/via6522.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,11 @@ namespace Plus4 {
bool cb2Input;
bool cb2Output;
bool cb2IsOutput;
#if 0
// FIXME: shift register is unimplemented
uint8_t shiftRegister;
uint8_t shiftCounter;
#endif
bool irqState;
inline void updateInterruptFlags()
{
Expand Down

0 comments on commit a9617c1

Please sign in to comment.