mirror of
https://github.com/pevans/erc-c.git
synced 2025-01-02 09:29:58 +00:00
More clearly check opposite phases
And prev should not be checked
This commit is contained in:
parent
443f9d1a01
commit
a461194a63
@ -269,7 +269,9 @@ apple2_dd_phaser(apple2dd *drive)
|
||||
|
||||
// If the opposite cog is also on, then our accounting is for
|
||||
// naught; nullify the step movement.
|
||||
if ((next & (prev << 2)) || (next & (prev >> 2))) {
|
||||
if (((next & DD_PHASE1) && (next & DD_PHASE3)) ||
|
||||
((next & DD_PHASE2) && (next & DD_PHASE4))
|
||||
) {
|
||||
step = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user