Page 1 of 1

Emulator Crash When Marquee Filename contains an &

Posted: Mon Jan 14, 2019 3:50 pm
by WelchWarlock
It took me a long time to narrow this down. I was trying to put Marquee artwork up for a Dungeons and Dragons game, but it would always crash mame64 (current version). The marquee artwork worked fine on the other games. I narrowed it down to the filename of the PNG file; it was "D&D..." changing the "&" to "and" resolved the problem. If this is an illegal character, then perhaps a warning message could be printed in the log file indicating that the filename is invalid. That would of saved me hours trying to figure out what went wrong.

Regards,

Robert Cook

Re: Emulator Crash When Marquee Filename contains an &

Posted: Fri Jan 18, 2019 12:04 am
by cuavas
  • Did you validate the XML in your layout file first?
  • Did you use an entity reference for the ampersand character? It's a syntactic element of XML so you need to use the entity reference & when you want a literal ampersand.
  • Did MAME actually crash, or just exit with an error? If it actually crashed, was it a segmentation fault, or some other kind of crash? Can you provide a stack trace?