summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-08-23 04:47:56 +0200
committerbunnei <bunneidev@gmail.com>2017-08-26 05:10:01 +0200
commit40f417125b799fde86f00824633d1ef86be73c6a (patch)
tree6892071113b68eaeae0e2d6ab261dfc0b639c626 /src
parentsettings: Add enable_telemetry, citra_username, and citra_token. (diff)
downloadyuzu-40f417125b799fde86f00824633d1ef86be73c6a.tar
yuzu-40f417125b799fde86f00824633d1ef86be73c6a.tar.gz
yuzu-40f417125b799fde86f00824633d1ef86be73c6a.tar.bz2
yuzu-40f417125b799fde86f00824633d1ef86be73c6a.tar.lz
yuzu-40f417125b799fde86f00824633d1ef86be73c6a.tar.xz
yuzu-40f417125b799fde86f00824633d1ef86be73c6a.tar.zst
yuzu-40f417125b799fde86f00824633d1ef86be73c6a.zip
Diffstat (limited to 'src')
-rw-r--r--src/citra/citra.cpp2
-rw-r--r--src/citra_qt/main.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/citra/citra.cpp b/src/citra/citra.cpp
index 14574e56c..e524c5535 100644
--- a/src/citra/citra.cpp
+++ b/src/citra/citra.cpp
@@ -165,6 +165,8 @@ int main(int argc, char** argv) {
break; // Expected case
}
+ Core::Telemetry().AddField(Telemetry::FieldType::App, "Frontend", "SDL");
+
while (emu_window->IsOpen()) {
system.RunLoop();
}
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index a8bf6201a..8adbcfe86 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -364,6 +364,8 @@ 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: