On Mon, 10 Oct 2011 11:57:12 +0100, Ralph Corderoy wrote: > Before we were going from nibbles to bytes, 0xf -> 0xff, now it's 0xf -> > 0xff00_0000. Shouldn't that be 0xffff_ffff, e.g. > > ULONG r = ((phys & 0xf) * 0x11111111); > > That way, we're still specifying the maximum possible to SetRGB32(). > Same goes for the mouse cursor palette patch. Google turned up > http://amigadev.elowar.com/read/ADCD_2.1/Includes_and_Autodocs_3._guide/node0328.html > which also seems to suggest 0xffff_ffff is required.
I'm pretty sure it ignores everything after the first byte, as the resolution for graphics cards is 8 bits per gun. However, technically you are right, it's neater and it works. I'm sure Jeffrey will update as appropriate :) Chris ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 -- arcem-devel mailing list arcem-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/arcem-devel