PaletteV_SetGammaCorrections

Tom Hughes tom at compton.nu
Sat Apr 15 12:57:54 BST 2000


My edit to PaletteV_SetGammaCorrections to make sure R9 is set on
entry seems to have lost an & somewhere so R9 is now being set
to 23 decimal instead of 23 hex. The attached patch corrects this.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
...You can lead a horticulture, but you cannot make her think.
-------------- next part --------------
Index: Source/Core/OS
===================================================================
RCS file: /home/cvs/riscos/oslib/Source/Core/OS,v
retrieving revision 1.1.1.6
retrieving revision 1.3
diff -c -r1.1.1.6 -r1.3
*** Source/Core/OS	2000/04/14 22:59:19	1.1.1.6
--- Source/Core/OS	2000/04/14 23:14:23	1.3
***************
*** 1122,1128 ****
           R1 -> OS_CorrectionTable: green_table,
           R2 -> OS_CorrectionTable: blue_table,
           R4 # 9 "Sets the gamma correction tables",
!          R9 # 23
        ),
        EXIT
        (  R4! = .Bool: incomplete
--- 1122,1128 ----
           R1 -> OS_CorrectionTable: green_table,
           R2 -> OS_CorrectionTable: blue_table,
           R4 # 9 "Sets the gamma correction tables",
!          R9 # &23
        ),
        EXIT
        (  R4! = .Bool: incomplete


More information about the oslib-team mailing list