ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/MacOSX/sys_darwin.cpp
(Generate patch)

Comparing BasiliskII/src/MacOSX/sys_darwin.cpp (file contents):
Revision 1.10 by asvitkine, 2007-01-21T17:27:15Z vs.
Revision 1.11 by asvitkine, 2007-01-21T18:06:39Z

# Line 257 | Line 257 | void DarwinAddFloppyPrefs(void)
257                          D(bug("Got size of %ld\n", size));
258                          if ( size < 800 * 1024 || size > 1440 * 1024 )
259                          {
260 <                                D(puts("Device does not appear to be 800k or 1440k\n"));
260 >                                D(puts("Device does not appear to be 800k or 1440k"));
261                                  continue;
262                          }
263                  }
264 <                else
265 <                        bug("Couldn't get kIOMediaSizeKey of device\n");
266 <                
267 <                
264 >                else {
265 >                        D(puts("Couldn't get kIOMediaSizeKey of device"));
266 >                        continue; // if kIOMediaSizeKey is unavailable, we shouldn't use it anyway
267 >                }
268 >
269                  *bsdPath = '\0';
270                  if ( bsdPathAsCFString )
271                  {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines