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

Comparing BasiliskII/src/MacOSX/video_macosx.mm (file contents):
Revision 1.13 by nigel, 2004-01-27T04:39:33Z vs.
Revision 1.14 by nigel, 2004-01-27T11:20:24Z

# Line 102 | Line 102 | bool
102   parse_screen_prefs(const char *mode_str)
103   {
104          if ( ! mode_str )
105 <                return false;
105 >        {
106 >                // No screen pref was found. Supply a default:
107 >                mode_str = "win/512/384";
108 >        }
109  
110          if (sscanf(mode_str, "win/%hd/%hd/%hd",
111                                  &init_width, &init_height, &init_depth) == 3)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines