mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-08 13:31:00 +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:
parent
e63a7b00b8
commit
78fdda2e46
@ -1507,6 +1507,10 @@ CImageBase* CDiskImageHelper::Detect(LPBYTE pImage, DWORD dwSize, const TCHAR* p
|
||||
if (m_2IMGHelper.IsLocked() && !*pWriteProtected_)
|
||||
*pWriteProtected_ = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
pImageType->SetVolumeNumber(DEFAULT_VOLUME_NUMBER);
|
||||
}
|
||||
}
|
||||
|
||||
return pImageType;
|
||||
|
Loading…
Reference in New Issue
Block a user