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

Function DISK_vsync

src/disk.cpp:3475–3486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3473}
3474
3475void DISK_vsync(void)
3476{
3477 DISK_check_change();
3478 for (int i = 0; i < MAX_FLOPPY_DRIVES; i++) {
3479 drive *drv = floppy + i;
3480 if (drv->selected_delay > 0) {
3481 drv->selected_delay--;
3482 }
3483 if (drv->dskchange_time == 0 && _tcscmp (currprefs.floppyslots[i].df, changed_prefs.floppyslots[i].df))
3484 disk_insert(i, changed_prefs.floppyslots[i].df, changed_prefs.floppyslots[i].forcedwriteprotect);
3485 }
3486}
3487
3488int disk_empty (int num)
3489{

Callers 1

vsync_handler_postFunction · 0.85

Calls 2

DISK_check_changeFunction · 0.85
disk_insertFunction · 0.85

Tested by

no test coverage detected