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

Method EjectDisk

source/Disk.cpp:429–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427}
428
429void Disk2InterfaceCard::EjectDisk(const int drive)
430{
431 if (!IsDriveValid(drive))
432 return;
433
434 EjectDiskInternal(drive);
435 Snapshot_UpdatePath();
436
437 SaveLastDiskImage(drive);
438 GetFrame().Video_ResetScreenshotCounter("");
439}
440
441void Disk2InterfaceCard::UnplugDrive(const int drive)
442{

Callers 5

DoDiskInsertFunction · 0.80
CmdDiskFunction · 0.80
ProcessDiskPopupMenuMethod · 0.80
DiskCardCleanupMethod · 0.80

Calls 2

Snapshot_UpdatePathFunction · 0.85

Tested by

no test coverage detected