Skip to content

Commit

Permalink
Merge pull request #42 from evilC/hotfix/issue-41
Browse files Browse the repository at this point in the history
Fix #41
  • Loading branch information
evilC authored Dec 18, 2019
2 parents f5b40e1 + 976c883 commit 615c8b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Deprecated
### Removed
### Fixed
- [ViGEm Provider] Fix Issue #41
No longer crashes if ViGEm not installed

## 0.11.1 - 2019-12-15
### Added
Expand Down
3 changes: 2 additions & 1 deletion Source/Core Providers/Core_ViGEm/Core_ViGEm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using Nefarius.ViGEm.Client.Targets;
using HidWizards.IOWrapper.ProviderInterface;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Diagnostics;
using System.Linq;
Expand Down Expand Up @@ -80,7 +81,7 @@ private void InitLibrary()

public ProviderReport GetOutputList()
{
_providerReport.Devices = _isLive ? devicesHandler.GetDeviceList() : null;
if (_isLive) _providerReport.Devices = devicesHandler.GetDeviceList();
return _providerReport;
}

Expand Down

0 comments on commit 615c8b2

Please sign in to comment.