mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-17 02:00:36 +02:00
FEX: Disable trace profiler by default
Use a config option to turn it on.
This commit is contained in:
2 files changed
+11
No files matched your search
@@ -70,6 +70,10 @@ static std::array<const char*, 2> TraceFSDirectories {
|
||||
};
|
||||
|
||||
void Init() {
|
||||
FEX_CONFIG_OPT(EnableGpuvisProfiling, ENABLEGPUVISPROFILING);
|
||||
if (!EnableGpuvisProfiling()) {
|
||||
return;
|
||||
}
|
||||
for (auto Path : TraceFSDirectories) {
|
||||
#ifdef _WIN32
|
||||
constexpr auto flags = O_WRONLY;
|
||||
|
||||
Reference in new issue
Block a user