mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-05-28 17:41:37 +00:00
Support reset midway through sequence
This commit is contained in:
parent
a30fffd4e9
commit
328c2eda3f
|
@ -72,7 +72,7 @@ void DongleControl(WORD address)
|
|||
|
||||
if (copyProtectionDongleType == DT_CODEWRITER)
|
||||
{
|
||||
if ((AN == 3 && state == false) || MemGetAnnunciator(3)) // reset?
|
||||
if ((AN == 3 && state == true) || MemGetAnnunciator(3)) // reset or was already reset? (ie. takes precedent over AN2)
|
||||
codeWriterResetLFSR();
|
||||
else if (AN == 2 && state == false && MemGetAnnunciator(2) == true) // AN2 true->false edge?
|
||||
codeWriterClockLFSR();
|
||||
|
|
Loading…
Reference in New Issue
Block a user