summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-07 22:48:47 +0200
committerGitHub <noreply@github.com>2018-04-07 22:48:47 +0200
commitd79558a6f0dda96c5f0d8ac3ac782dd92ffb8b98 (patch)
treeaa4455c9353ee25d69d8742a804b28a8f1324798
parentMerge pull request #310 from N00byKing/patch-1 (diff)
parentPrevent crash from uninitialized telemetry (diff)
downloadyuzu-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
-rw-r--r--src/yuzu/main.cpp3
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;
}