Esempio n. 1
0
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<MAXSLOT7DRIVES;disk++)
			insert_disk(7,disk-1,getLocalIMG(7,disk),0,0,0,0);
		
		x_refresh_panel(PANEL_DISK);

		g_savestate.reset_rewind();
		g_savestate.reset_state();
	}
}
Esempio n. 2
0
static int df3_function(fs_emu_menu_item *menu_item, void **result_data) {
    insert_disk(3, fs_emu_menu_item_get_idata(menu_item));
    return FS_EMU_MENU_RESULT_CLOSE;
}