Skip to content

Commit

Permalink
Fixed crash related to ARC missing (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
Solaire authored Aug 30, 2022
1 parent c5223ce commit 09f9cb1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions GameLauncher_Console/GameLauncher_Console/Platforms/Arc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ public void GetGames(List<ImportGameData> gameDataList, bool expensiveIcons = fa

using (RegistryKey key = Registry.LocalMachine.OpenSubKey(Path.Combine(ARC_REG, ARC_GAMES), RegistryKeyPermissionCheck.ReadSubTree)) // HKLM32
{
if(key == null)
{
return;
}
foreach (string subKey in key.GetSubKeyNames()) // Add subkeys to search list
{
try
Expand Down

1 comment on commit 09f9cb1

@Nutzzz
Copy link
Contributor

@Nutzzz Nutzzz commented on 09f9cb1 Aug 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤭👍

Please sign in to comment.