From c4fe410eb974ffe58ce8c741325cb13b85a0db31 Mon Sep 17 00:00:00 2001 From: Terry MacDonald Date: Fri, 30 Apr 2021 17:34:11 +1200 Subject: [PATCH] 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 :(. --- DisplayMagician/ShortcutItem.cs | 2 +- DisplayMagician/ShortcutRepository.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DisplayMagician/ShortcutItem.cs b/DisplayMagician/ShortcutItem.cs index c4849c2..a130cd0 100644 --- a/DisplayMagician/ShortcutItem.cs +++ b/DisplayMagician/ShortcutItem.cs @@ -2080,7 +2080,7 @@ namespace DisplayMagician else if (GameLibrary.Equals(SupportedGameLibraryType.Origin)) { // 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 diff --git a/DisplayMagician/ShortcutRepository.cs b/DisplayMagician/ShortcutRepository.cs index f2244b4..d08933a 100644 --- a/DisplayMagician/ShortcutRepository.cs +++ b/DisplayMagician/ShortcutRepository.cs @@ -1062,11 +1062,11 @@ namespace DisplayMagician // We now need to get the Uplay Game info 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)) { - // We now need to get the Uplay Game info - gameLibraryToUse = UplayLibrary.GetLibrary(); + // We now need to get the Origin Game info + gameLibraryToUse = OriginLibrary.GetLibrary(); } gameToRun = gameLibraryToUse.GetGameById(shortcutToUse.GameAppId);