On Sun, 9 Oct 2011, Chris Young wrote:

Only problem I can see now is that the mouse pointer is the wrong
colour (red instead of blue), it looks like it might not have been
updated for palette mapped display.

I tried changing (line 330-ish):
line[x] = cursorPal[idx];
to:
line[x] = VIDC.CursorPalette[idx];

But curiously it is still red, so not entirely sure what is going on
there (unless the idx calculation above it is wrong?).

That whole block of code is disabled at the moment (it's from when I tried to get the Amiga code to use 16bpp output). It's the pdd_refreshmouse function which you should look at instead. It's pretty much identical to the original code, but it looks like I forgot to add in the code to set the cursor palette entries. The attached patch should sort it out.

Cheers,

- Jeffrey

Attachment: arcem5.diff
Description: Binary data

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
-- 
arcem-devel mailing list
arcem-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/arcem-devel

Reply via email to