MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / CleanupDriveInternal

Method CleanupDriveInternal

source/Harddisk.cpp:273–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271//===========================================================================
272
273void HarddiskInterfaceCard::CleanupDriveInternal(const int iDrive)
274{
275 if (m_hardDiskDrive[iDrive].m_imagehandle)
276 {
277 ImageClose(m_hardDiskDrive[iDrive].m_imagehandle);
278 m_hardDiskDrive[iDrive].m_imagehandle = NULL;
279 }
280
281 m_hardDiskDrive[iDrive].m_imageloaded = false;
282
283 m_hardDiskDrive[iDrive].m_imagename.clear();
284 m_hardDiskDrive[iDrive].m_fullname.clear();
285 m_hardDiskDrive[iDrive].m_strFilenameInZip.clear();
286}
287
288void HarddiskInterfaceCard::CleanupDrive(const int iDrive)
289{

Callers

nothing calls this directly

Calls 2

ImageCloseFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected