mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-08-15 18:27:29 +00:00
Fix for DOS3.3 images:
- VolumeNumber wasn't being reset to default (254) after using a .2mg that changed the volume number.
This commit is contained in:
@@ -1507,6 +1507,10 @@ CImageBase* CDiskImageHelper::Detect(LPBYTE pImage, DWORD dwSize, const TCHAR* p
|
|||||||
if (m_2IMGHelper.IsLocked() && !*pWriteProtected_)
|
if (m_2IMGHelper.IsLocked() && !*pWriteProtected_)
|
||||||
*pWriteProtected_ = 1;
|
*pWriteProtected_ = 1;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
pImageType->SetVolumeNumber(DEFAULT_VOLUME_NUMBER);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return pImageType;
|
return pImageType;
|
||||||
|
Reference in New Issue
Block a user