@@ -183,6 +183,7 @@ void hosts_and_devices_eject(unsigned char ds)
183183 io_umount_disk_image (ds );
184184 memset (deviceSlots [ds ].file , 0 , FILE_MAXLEN );
185185 deviceSlots [ds ].hostSlot = 0xFF ;
186+ deviceSlots [ds ].mode = 0 ;
186187 io_put_device_slots (& deviceSlots [0 ]);
187188 io_get_device_slots (& deviceSlots [0 ]);
188189 screen_hosts_and_devices_eject (ds );
@@ -287,6 +288,10 @@ void hosts_and_devices_devices_set_mode(unsigned char m)
287288 //screen_hosts_and_devices_devices_selected(selected_device_slot); // Breaks disk order on screen??
288289 selected_device_slot = 0 ; // Go back to drive 0 instead
289290 hosts_and_devices_devices ();
291+ #elif defined(_CMOC_VERSION_ )
292+ io_mount_disk_image (selected_device_slot , m );
293+ screen_hosts_and_devices_device_slots (1 ,& deviceSlots [0 ],& deviceEnabled [0 ]);
294+ bar_jump (selected_device_slot );
290295#else
291296 io_mount_disk_image (selected_device_slot , m );
292297#endif
@@ -335,7 +340,7 @@ void hosts_and_devices_done(void)
335340 if (deviceSlots [i ].hostSlot != 0xFF )
336341 {
337342#ifdef _CMOC_VERSION_
338- printf ("%d:%s\n" ,i ,deviceSlots [i ].file );
343+ printf ("%d:%s\n" ,i ,strupr ( deviceSlots [i ].file ) );
339344#endif
340345#ifdef BUILD_APPLE2
341346 s = i + 1 ;
0 commit comments