mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-04-27 19:46:13 +00:00
Minor improvement to fix for #640
This commit is contained in:
parent
06ffa28a7a
commit
0d112158d0
@ -543,7 +543,7 @@ ImageError_e Disk2InterfaceCard::InsertDisk(const int drive, LPCTSTR pszImageFil
|
||||
|
||||
// Reset the disk's attributes, but preserve the drive's attributes (GH#138/Platoon, GH#640)
|
||||
// . Changing the disk (in the drive) doesn't affect the drive's attributes.
|
||||
pDrive->m_disk.clear();
|
||||
pFloppy->clear();
|
||||
|
||||
const DWORD dwAttributes = GetFileAttributes(pszImageFilename);
|
||||
if(dwAttributes == INVALID_FILE_ATTRIBUTES)
|
||||
|
Loading…
x
Reference in New Issue
Block a user