mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-02-18 08:56:20 +01:00
Skip unneeded string operation that slows down actions
This commit is contained in:
parent
c8c6e5265b
commit
7bb6a6cdbc
@ -515,7 +515,7 @@ namespace DS4Windows
|
|||||||
|
|
||||||
public static SpecialAction GetProfileAction(int device, string name)
|
public static SpecialAction GetProfileAction(int device, string name)
|
||||||
{
|
{
|
||||||
SpecialAction sA = new SpecialAction("null", "null", "null", "null");
|
SpecialAction sA = null;
|
||||||
m_Config.profileActionDict[device].TryGetValue(name, out sA);
|
m_Config.profileActionDict[device].TryGetValue(name, out sA);
|
||||||
return sA;
|
return sA;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user