ROM files with more than one period in them may not work correctly when added to cartridge. #202
Operating system version
Program version (from About box)
Ms. Pac-Man and Ms. Night Stalker should both play correctly from cartridge.
Steps to reproduce
Put files with '.' in the name, like Ms. Pac-Man.bin and Ms. Night Stalker.bin, in to the same directory on disk, then add both to your menu, update cart, and try to play.
Crash log if available (paste or attach)
The text was updated successfully, but these errors were encountered:
User encountered this bug when Ms. Pac-Man and Ms. Night Stalker were both in the same folder. The but was due to using System.IO.Path.ChangeExtension after removing the original file extension (.bin) and replacing it with _bin. Subsequent code then assumed no file extension would be present, so Ms. Pac-Man_bin changed to Ms.luigi. This would happen for both files, resulting in only one .luigi file being on disk and sent to the cartridge.