diff options
author | Cluster <clusterrr@clusterrr.com> | 2020-09-01 21:32:37 +0300 |
---|---|---|
committer | Cluster <clusterrr@clusterrr.com> | 2020-09-01 21:32:37 +0300 |
commit | 2690b77787359c195ff1e15912018764603c3c0f (patch) | |
tree | 13b5659d8a75caed7c56d4af9d7687a50278ae3e /FamicomDumperConnection | |
parent | 23bfc381e52bd9efe2cf90cc48ac679264456ec9 (diff) |
Hotfix.
Diffstat (limited to 'FamicomDumperConnection')
-rw-r--r-- | FamicomDumperConnection/FamicomDumperConnection.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FamicomDumperConnection/FamicomDumperConnection.cs b/FamicomDumperConnection/FamicomDumperConnection.cs index 072ac39..dbd7a41 100644 --- a/FamicomDumperConnection/FamicomDumperConnection.cs +++ b/FamicomDumperConnection/FamicomDumperConnection.cs @@ -161,7 +161,7 @@ namespace com.clusterrr.Famicom.DumperConnection var dumpers = ftdiDeviceList.Where(d => d.Description == DeviceName);
if (!dumpers.Any())
throw new IOException($"{DeviceName} not found");
- var PortName = dumpers.First().SerialNumber;
+ PortName = dumpers.First().SerialNumber;
}
if (ftStatus != FTDI.FT_STATUS.FT_OK)
throw new IOException("Failed to get FTDI devices (error " + ftStatus.ToString() + ")");
|