/* ActiveGS, Copyright 2004-2016 Olivier Goguel, https://github.com/ogoguel/ActiveGS Based on Kegs, Copyright 2004 Kent Dickey, https://kegs.sourceforge.net This code is covered by the GNU GPL licence */ #include "CEMulatorCtrl.h" #include "../kegs/Src/iwm.h" #include "../kegs/Src/config.h" #include "../kegs/Src/SaveState.h" void x_notify_disk_insertion(int _size,int _start, int _isprodos,int slot, int drive) { readImageInfo(slot,drive+1,_size,_start,_isprodos); } void checkImages() { if (mountImages()) { printf("Mounting images...\n"); g_iwm.g_highest_smartport_unit = -1; insert_disk(5,0,getLocalIMG(5,1),0,0,0,0); insert_disk(5,1,getLocalIMG(5,2),0,0,0,0); insert_disk(6,0,getLocalIMG(6,1),0,0,0,0); insert_disk(6,1,getLocalIMG(6,2),0,0,0,0); for(int disk=1;disk