# | 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")); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |