mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-29 20:44: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)
|
||||
{
|
||||
SpecialAction sA = new SpecialAction("null", "null", "null", "null");
|
||||
SpecialAction sA = null;
|
||||
m_Config.profileActionDict[device].TryGetValue(name, out sA);
|
||||
return sA;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user