Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/famicom-dumper-client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCluster <clusterrr@clusterrr.com>2020-09-01 21:32:37 +0300
committerCluster <clusterrr@clusterrr.com>2020-09-01 21:32:37 +0300
commit2690b77787359c195ff1e15912018764603c3c0f (patch)
tree13b5659d8a75caed7c56d4af9d7687a50278ae3e /FamicomDumperConnection
parent23bfc381e52bd9efe2cf90cc48ac679264456ec9 (diff)
Hotfix.
Diffstat (limited to 'FamicomDumperConnection')
-rw-r--r--FamicomDumperConnection/FamicomDumperConnection.cs2
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() + ")");