mirror of https://github.com/stella-emu/stella.git
reduced QuadTari timer to 1 scanline
This commit is contained in:
parent
b2faf3e635
commit
507a367ced
|
@ -103,7 +103,7 @@ bool QuadTari::read(DigitalPin pin)
|
||||||
// can switch the controller multiple times per frame
|
// can switch the controller multiple times per frame
|
||||||
// (we can't just read 60 times per second in the ::update() method)
|
// (we can't just read 60 times per second in the ::update() method)
|
||||||
|
|
||||||
constexpr int MIN_CYCLES = 20 * 76; // minimal cycles required for stable input switch (TODO: define cycles)
|
constexpr int MIN_CYCLES = 76; // minimal cycles required for stable input switch (just to be safe)
|
||||||
bool readFirst;
|
bool readFirst;
|
||||||
|
|
||||||
if(mySystem.tia().dumpPortsCycles() < MIN_CYCLES)
|
if(mySystem.tia().dumpPortsCycles() < MIN_CYCLES)
|
||||||
|
|
Loading…
Reference in New Issue