Skip to content

Commit

Permalink
feeder: added 'digital illusions' to the list of non-manufactured (ak…
Browse files Browse the repository at this point in the history
…a original)
  • Loading branch information
stojy committed Sep 10, 2023
1 parent 9df7780 commit 179ab01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ClrVpin/Feeder/FeederFix.cs
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,8 @@ private static void FixNamedGames(OnlineGame onlineGame)
case "Batman 66 (Stern 2016)":
case "Mortal Kombat II (Midway 1992)":
case "Strip Joker Poker (Gottlieb 1978)":
// alternatively, GameDerived.CheckIsOriginal() can be overriden.. but better to fix the issue at the source where possible
// if the tables can be identified more generically (e.g. via manufacturer) then add to GameDerived.CheckIsOriginal() instead
// - implementing via CheckIsOriginal() will also maintain the manufacturer.. which can help with subsequent file matching
WrongManufacturerYear(onlineGame, "Original");
break;
}
Expand Down
3 changes: 2 additions & 1 deletion ClrVpin/Models/Shared/Game/GameDerived.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ public static bool CheckIsOriginal(string manufacturer, string name)
manufacturer?.StartsWith("Zen Studios", StringComparison.InvariantCultureIgnoreCase) == true ||
manufacturer?.StartsWith("Professional Pinball", StringComparison.InvariantCultureIgnoreCase) == true ||
manufacturer?.StartsWith("Cunning Developments", StringComparison.InvariantCultureIgnoreCase) == true ||
manufacturer?.StartsWith("Dream Pinball 3D", StringComparison.InvariantCultureIgnoreCase) == true;
manufacturer?.StartsWith("Dream Pinball 3D", StringComparison.InvariantCultureIgnoreCase) == true ||
manufacturer?.StartsWith("Digital Illusions", StringComparison.InvariantCultureIgnoreCase) == true;

// determine isOriginal based on table name
var isNameOriginal = name?.Equals("Jurassic park - Limited Edition", StringComparison.InvariantCultureIgnoreCase) == true ||
Expand Down

0 comments on commit 179ab01

Please sign in to comment.