Fixed, I just commit the changes to CVS, here is the changelog:

src/vidhrdw/psikyosh.c: psikyosh_bgram got addressed (indexed) with a
negative value. The cause of this is that the bg layer priotity got
calculated before checking if the layer was enabled (which it was not in
this case) and before checking if the bg layer type used to calc the
priority was a valid type (which it was not in this case, which is ok
because the layer was disabled, but an enabled layer can still have an
invalid layer type which could cause a negative address again)

Both the layer being enabled and the layer type are checked now before
calculating the priority. This stops soldivid from crashing on x86_64,
besides that the functionality is 100% identical because the
calculated priority never got used if the layer was not enabled or the
type was not valid.

Lawrence, please merge upstream.

Regards,

Hans


-- EuropeSwPatentFree http://EuropeSwPatentFree.hispalinux.es

_______________________________________________
Xmame mailing list
[EMAIL PROTECTED]
http://toybox.twisted.org.uk/mailman/listinfo/xmame

Reply via email to