WelchWarlock
Posts: 1
Joined: Wed Jan 04, 2017 3:21 am

Emulator Crash When Marquee Filename contains an &

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
User avatar
cuavas
Posts: 125
Joined: Tue Nov 11, 2014 1:04 pm
Location: Sydney, Australia
Contact: Website

Re: Emulator Crash When Marquee Filename contains an &

  • 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?

Return to “MAME Discussion”