MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / reset_drive_gui

Function reset_drive_gui

src/disk.cpp:809–817  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

807static int drive_insert (drive * drv, struct uae_prefs *p, int dnum, const TCHAR *fname, bool fake, bool writeprotected);
808
809static void reset_drive_gui (int num)
810{
811 struct gui_info_drive *gid = &gui_data.drives[num];
812 gid->drive_disabled = 0;
813 gid->df[0] = 0;
814 gid->crc32 = 0;
815 if (currprefs.floppyslots[num].dfxtype < 0)
816 gid->drive_disabled = 1;
817}
818
819static void setamax (void)
820{

Callers 2

reset_driveFunction · 0.85
restore_diskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected