On Thu, 5 Jun 2003, Lawrence Gold wrote: > On Thu, Jun 05, 2003 at 01:27:01PM +0200, Frank Everdij wrote: > > > > And now i'm struggling from there. The "offending" routine is actually > > in src/unix/sysdep/rc.c but 1) it is identical to xmame-0.67.2 and 2) > > Bus errors occur whenever there are memory map collisions, sorta, so > > this can be triggered by an early malloc/setmem somewhere. Good luck > > finding that one :( > > The patch I just forwarded deals with the crc_only option, which I believe > is new and whose code I copied from the MAME core. I'll have a closer > look when I'm at home -- there may be an error in the way that option is > being defined in the rc struct. >
I think it's related to unaligned access. option->dest ist a void pointer which is casted to various larger types. On Sparcs and other architectures (not x86) you produce a bus error if you write int or float etc. to an unaligned memory region. Mathis _______________________________________________ Xmame mailing list [EMAIL PROTECTED] http://toybox.twisted.org.uk/mailman/listinfo/xmame
