mirror of https://github.com/stella-emu/stella.git
Minor refactoring; remove const reference where not needed.
This commit is contained in:
parent
b35f43d41f
commit
b23830487d
|
@ -119,7 +119,7 @@ void PointingDevice::setSensitivity(int sensitivity)
|
|||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void PointingDevice::updateDirection(const int& counter, float& counterRemainder,
|
||||
void PointingDevice::updateDirection(int counter, float& counterRemainder,
|
||||
bool& trackBallDir, int& trackBallLines, int& scanCount, int& firstScanOffset)
|
||||
{
|
||||
// Apply sensitivity and calculate remainder
|
||||
|
|
|
@ -88,7 +88,7 @@ class PointingDevice : public Controller
|
|||
virtual uInt8 ioPortA(uInt8 countH, uInt8 countV, uInt8 left, uInt8 down) = 0;
|
||||
|
||||
private:
|
||||
void updateDirection(const int& counter, float& counterRemainder,
|
||||
void updateDirection(int counter, float& counterRemainder,
|
||||
bool& trackBallDir, int& trackBallLines,
|
||||
int& scanCount, int& firstScanOffset);
|
||||
|
||||
|
|
Loading…
Reference in New Issue