Fixed bug where the drive could incorrectly write to the disk just after a reset.
This commit is contained in:
parent
bae47c0157
commit
4adbe3f560
1 changed files with 2 additions and 1 deletions
|
@ -445,7 +445,8 @@ bool Drive::Update()
|
|||
}
|
||||
else if (diskImage && motor)
|
||||
{
|
||||
bool writing = (m_pVIA->GetFCR() & m6522::FCR_CB2_OUTPUT_MODE0) == 0;
|
||||
unsigned char FCR = m_pVIA->GetFCR();
|
||||
bool writing = ((FCR & m6522::FCR_CB2_OUTPUT_MODE0) == 0) && ((FCR & m6522::FCR_CB2_IO) != 0);
|
||||
|
||||
if (SO)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue