Changing platform name can create two broken platforms

Issue #2660 new
Norfair created an issue

Reproducing the bug:

  • I rename the platform "Nintendo" to "Nintendo Entertainment System"

  • I now get two files:

Data\Platforms\Nintendo.xml

Data\Platforms\Nintendo Entertainment System.xml

(no problems yet, but shouldn't the Nintendo.xml be deleted?)

  • I rename the platform "Nintendo Entertainment System" back to "Nintendo"

(everything still seems to be fine, but shouldn't the Nintendo Entertainment System.xml be deleted?)

  • I restart LB and there are two platforms in Data\Platforms.xml:

<Name>Nintendo</Name>

<Name>Nintendo Entertainment System</Name>

I now have two broken platforms.

The "Nintendo" platform has the correct platform name and the correct paths, but no "associated games".

The "Nintendo Entertainment System" platform has all the associated games, with incorrect paths.

Comments (3)

  1. Log in to comment