From f5f6292810dab70bc9be0fa4d9f37fe2b5544d86 Mon Sep 17 00:00:00 2001 From: Carl Kenner Date: Fri, 5 Oct 2018 12:52:49 +0930 Subject: logging: Add DebuggerBackend for logging to Visual Studio --- src/yuzu/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/yuzu/main.cpp') diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index ad62a82d0..1d06d6c95 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -135,6 +135,9 @@ static void InitializeLogging() { const std::string& log_dir = FileUtil::GetUserPath(FileUtil::UserPath::LogDir); FileUtil::CreateFullPath(log_dir); Log::AddBackend(std::make_unique(log_dir + LOG_FILE)); +#ifdef _WIN32 + Log::AddBackend(std::make_unique()); +#endif } GMainWindow::GMainWindow() -- cgit v1.2.3 From 97187b7ef6eb842c0f8021ac500b5f7f029a5ae9 Mon Sep 17 00:00:00 2001 From: Zach Hilman Date: Thu, 1 Nov 2018 22:05:44 -0400 Subject: qt: Add help option to open yuzu folder Opens a new file manager window at the UserDir. --- src/yuzu/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/yuzu/main.cpp') diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index c5a56cbfd..114b39546 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -454,6 +454,7 @@ void GMainWindow::ConnectMenuEvents() { connect(ui.action_Fullscreen, &QAction::triggered, this, &GMainWindow::ToggleFullscreen); // Help + connect(ui.action_Open_yuzu_Folder, &QAction::triggered, this, &GMainWindow::OnOpenYuzuFolder); connect(ui.action_Rederive, &QAction::triggered, this, std::bind(&GMainWindow::OnReinitializeKeys, this, ReinitializeKeyBehavior::Warning)); connect(ui.action_About, &QAction::triggered, this, &GMainWindow::OnAbout); @@ -1374,6 +1375,11 @@ void GMainWindow::OnLoadAmiibo() { } } +void GMainWindow::OnOpenYuzuFolder() { + QDesktopServices::openUrl(QUrl::fromLocalFile( + QString::fromStdString(FileUtil::GetUserPath(FileUtil::UserPath::UserDir)))); +} + void GMainWindow::OnAbout() { AboutDialog aboutDialog(this); aboutDialog.exec(); -- cgit v1.2.3 From b2647dba337c596ba3b3132297ee0af18033c007 Mon Sep 17 00:00:00 2001 From: Dharmin K Shah Date: Mon, 5 Nov 2018 00:36:49 +0530 Subject: Fix quickstart link --- src/yuzu/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/yuzu/main.cpp') diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index c5a56cbfd..47d52c385 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -1532,7 +1532,7 @@ void GMainWindow::OnReinitializeKeys(ReinitializeKeyBehavior behavior) { "derivation. It will be attempted but may not complete.

") + errors + tr("

You can get all of these and dump all of your games easily by " - "following the " + "following the " "quickstart guide. Alternatively, you can use another method of dumping " "to obtain all of your keys.")); } -- cgit v1.2.3