mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-19 08:31:11 +00:00
Fixed implicit sign conversion.
This commit is contained in:
parent
c77a83d86f
commit
a1a3aab115
@ -154,7 +154,7 @@ template <class T> class MOS6560: public ClockReceiver<MOS6560<T>> {
|
||||
int number_of_cycles = cycles.as_int();
|
||||
|
||||
// keep track of the amount of time since the speaker was updated; lazy updates are applied
|
||||
cycles_since_speaker_update_ += number_of_cycles;
|
||||
cycles_since_speaker_update_ += (unsigned int)number_of_cycles;
|
||||
|
||||
while(number_of_cycles--) {
|
||||
// keep an old copy of the vertical count because that test is a cycle later than the actual changes
|
||||
|
Loading…
Reference in New Issue
Block a user