diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-07 22:48:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-07 22:48:47 +0200 |
commit | d79558a6f0dda96c5f0d8ac3ac782dd92ffb8b98 (patch) | |
tree | aa4455c9353ee25d69d8742a804b28a8f1324798 /src | |
parent | Merge pull request #310 from N00byKing/patch-1 (diff) | |
parent | Prevent crash from uninitialized telemetry (diff) | |
download | yuzu-d79558a6f0dda96c5f0d8ac3ac782dd92ffb8b98.tar yuzu-d79558a6f0dda96c5f0d8ac3ac782dd92ffb8b98.tar.gz yuzu-d79558a6f0dda96c5f0d8ac3ac782dd92ffb8b98.tar.bz2 yuzu-d79558a6f0dda96c5f0d8ac3ac782dd92ffb8b98.tar.lz yuzu-d79558a6f0dda96c5f0d8ac3ac782dd92ffb8b98.tar.xz yuzu-d79558a6f0dda96c5f0d8ac3ac782dd92ffb8b98.tar.zst yuzu-d79558a6f0dda96c5f0d8ac3ac782dd92ffb8b98.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 936a2759b..34e33170e 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -347,8 +347,6 @@ bool GMainWindow::LoadROM(const QString& filename) { const Core::System::ResultStatus result{system.Load(render_window, filename.toStdString())}; - Core::Telemetry().AddField(Telemetry::FieldType::App, "Frontend", "Qt"); - if (result != Core::System::ResultStatus::Success) { switch (result) { case Core::System::ResultStatus::ErrorGetLoader: @@ -409,6 +407,7 @@ bool GMainWindow::LoadROM(const QString& filename) { } return false; } + Core::Telemetry().AddField(Telemetry::FieldType::App, "Frontend", "Qt"); return true; } |