mika76 / mamesaver

Mamesaver is a mame emulated screensaver - get all the good ol' games playing their demo modes while you procrastinate and enjoy!
https://mika76.github.io/mamesaver/
MIT License
37 stars 10 forks source link

MAME configuration parsing fails when paths enclosed in speech marks #34

Closed nullpainter closed 6 years ago

nullpainter commented 6 years ago

For example:

rompath "roms;E:\MAME 0.195 ROMs (merged);E:\MAME 0.190 ROMs (merged)\MAME 0.190 ROMs"

If enclosing speech-marks exist, they should be removed. The splitting code should also be taken out of GameListBuilder and split into a separate parser class so we can effectively write unit tests against it.

Additionally, this failure doesn't appear to result in any log entry being written.

@mika76, feel free to assign this to me.

mika76 commented 6 years ago

Nice find...