Fixed missing OriginLibrary references

This iwas a stupid mistake. I forgot to change
the Uplay library references when I copied them
to nmake the OriginLibrary. This caused issues
as they cross pollinated, breaking both :(.
This commit is contained in:
Terry MacDonald 2021-04-30 17:34:11 +12:00
parent 6af0603d8f
commit c4fe410eb9
2 changed files with 4 additions and 4 deletions

View File

@ -2080,7 +2080,7 @@ namespace DisplayMagician
else if (GameLibrary.Equals(SupportedGameLibraryType.Origin)) else if (GameLibrary.Equals(SupportedGameLibraryType.Origin))
{ {
// We now need to get the Uplay Game info // We now need to get the Uplay Game info
gameLibraryToUse = UplayLibrary.GetLibrary(); gameLibraryToUse = OriginLibrary.GetLibrary();
} }
// If the game is a Steam Game we check for that // If the game is a Steam Game we check for that

View File

@ -1062,11 +1062,11 @@ namespace DisplayMagician
// We now need to get the Uplay Game info // We now need to get the Uplay Game info
gameLibraryToUse = UplayLibrary.GetLibrary(); gameLibraryToUse = UplayLibrary.GetLibrary();
} }
// If the game is a Uplay Game we check for that // If the game is an Origin Game we check for that
else if (shortcutToUse.GameLibrary.Equals(SupportedGameLibraryType.Origin)) else if (shortcutToUse.GameLibrary.Equals(SupportedGameLibraryType.Origin))
{ {
// We now need to get the Uplay Game info // We now need to get the Origin Game info
gameLibraryToUse = UplayLibrary.GetLibrary(); gameLibraryToUse = OriginLibrary.GetLibrary();
} }
gameToRun = gameLibraryToUse.GetGameById(shortcutToUse.GameAppId); gameToRun = gameLibraryToUse.GetGameById(shortcutToUse.GameAppId);