mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-29 20:44:20 +01:00
Minor tweak
This commit is contained in:
parent
b6a58b7b76
commit
649e3b2ceb
@ -248,8 +248,11 @@ namespace DS4Windows
|
||||
try
|
||||
{
|
||||
string[] profiles = Directory.GetFiles(appdatapath + @"\Profiles\");
|
||||
foreach (string s in profiles)
|
||||
string s = string.Empty;
|
||||
//foreach (string s in profiles)
|
||||
for (int i = 0, proflen = profiles.Length; i < proflen; i++)
|
||||
{
|
||||
s = profiles[i];
|
||||
if (Path.GetExtension(s) == ".xml")
|
||||
{
|
||||
xDoc.Load(s);
|
||||
|
Loading…
Reference in New Issue
Block a user