mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-14 00:48:44 +01:00
18 lines
456 B
C++
18 lines
456 B
C++
|
#include "d3d11_options.h"
|
||
|
|
||
|
namespace dxvk {
|
||
|
|
||
|
const static std::unordered_map<std::string, D3D11OptionSet> g_d3d11AppOptions = {{
|
||
|
{ "witcher3.exe", D3D11OptionSet(D3D11Option::IgnoreMapFlagNoWait) },
|
||
|
}};
|
||
|
|
||
|
|
||
|
D3D11OptionSet D3D11GetAppOptions(const std::string& AppName) {
|
||
|
auto appOptions = g_d3d11AppOptions.find(AppName);
|
||
|
|
||
|
return appOptions != g_d3d11AppOptions.end()
|
||
|
? appOptions->second
|
||
|
: D3D11OptionSet();
|
||
|
}
|
||
|
|
||
|
}
|