mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-02 05:54:20 +01:00
Minor tweak
This commit is contained in:
parent
b6a58b7b76
commit
649e3b2ceb
@ -248,8 +248,11 @@ namespace DS4Windows
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
string[] profiles = Directory.GetFiles(appdatapath + @"\Profiles\");
|
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")
|
if (Path.GetExtension(s) == ".xml")
|
||||||
{
|
{
|
||||||
xDoc.Load(s);
|
xDoc.Load(s);
|
||||||
|
Loading…
Reference in New Issue
Block a user