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

Comparing SheepShaver/src/video.cpp (file contents):
Revision 1.16 by asvitkine, 2008-06-25T02:52:22Z vs.
Revision 1.17 by asvitkine, 2012-03-27T03:43:28Z

# Line 213 | Line 213 | static bool allocate_gamma_table(VidLoca
213  
214   static int16 set_gamma(VidLocals *csSave, uint32 gamma)
215   {
216        return paramErr;
217
216          if (gamma == 0) { // Build linear ramp, 256 entries
217  
218                  // Allocate new table, if necessary
# Line 699 | Line 697 | static int16 VideoStatus(uint32 pb, VidL
697                  case cscGetGamma:                                                       // GetGamma
698                          D(bug("GetGamma\n"));
699                          WriteMacInt32(param, (uint32)csSave->gammaTable);
700 <                        return statusErr;
700 >                        return noErr;
701  
702                  case cscGetDefaultMode:                                         // GetDefaultMode
703                          D(bug("GetDefaultMode\n"));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines