Skip to content

Commit

Permalink
https://github.com/syd711/vpin-studio/issues/662
Browse files Browse the repository at this point in the history
  • Loading branch information
syd711 committed Dec 19, 2024
1 parent e3d922a commit d0162f8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## Release Notes 3.11.1

## Bugfixes
- **Tables / PUP Packs**: Fixed wrong order of PUP pack detection when an alias was used.

## Release Notes 3.11.0

## Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ private PupPack getCachedPupPack(@NonNull Game game) {
if (!StringUtils.isEmpty(game.getPupPackName()) && pupPackFolders.containsKey(game.getPupPackName().toLowerCase())) {
return pupPackFolders.get(game.getPupPackName().toLowerCase());
}
if (!StringUtils.isEmpty(game.getRom()) && pupPackFolders.containsKey(game.getRom().toLowerCase())) {
return pupPackFolders.get(game.getRom().toLowerCase());
}
if (!StringUtils.isEmpty(game.getRomAlias()) && pupPackFolders.containsKey(game.getRomAlias().toLowerCase())) {
return pupPackFolders.get(game.getRomAlias().toLowerCase());
}
if (!StringUtils.isEmpty(game.getRom()) && pupPackFolders.containsKey(game.getRom().toLowerCase())) {
return pupPackFolders.get(game.getRom().toLowerCase());
}
if (!StringUtils.isEmpty(game.getTableName()) && pupPackFolders.containsKey(game.getTableName().toLowerCase())) {
return pupPackFolders.get(game.getTableName().toLowerCase());
}
Expand Down

0 comments on commit d0162f8

Please sign in to comment.