summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/OpenALStream.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2020-11-25 16:26:13 +0100
committerJosJuice <josjuice@gmail.com>2020-11-25 16:26:13 +0100
commit2f264c64486fdb0d6ff880cce30e229803d4105c (patch)
tree1256d85674cd291faf7dd5c6b267a5f3465d6dac /Source/Core/AudioCommon/OpenALStream.cpp
parent140daf59606e3fc4f3544ef152eec9738b29bab5 (diff)
Common: Optimize Config::Get
The way Config::Get works in master, it first calls Config::GetActiveLayerForConfig which searches for the setting in all layers, and then calls Config::Layer::Get which searches for the same setting again within the given layer. We can remove this second search by combining the logic of Config::GetActiveLayerForConfig and Config::Layer::Get into one function.
Diffstat (limited to 'Source/Core/AudioCommon/OpenALStream.cpp')
0 files changed, 0 insertions, 0 deletions