summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar lat9nq2022-08-07 17:01:11 -0400
committerGravatar lat9nq2022-08-07 17:02:06 -0400
commite2123b27e8a17a743cdf446c3e9eef0126e0d069 (patch)
treecb4a3b102f1840f9ef484f55f97a9e6543abc400 /src
parentvcpkg: Update and update fmt to 9.0.0 (diff)
downloadyuzu-e2123b27e8a17a743cdf446c3e9eef0126e0d069.tar.gz
yuzu-e2123b27e8a17a743cdf446c3e9eef0126e0d069.tar.xz
yuzu-e2123b27e8a17a743cdf446c3e9eef0126e0d069.zip
yuzu: Fix fmt 9.0.0 issues
Diffstat (limited to '')
-rw-r--r--src/yuzu/bootmanager.cpp4
-rw-r--r--src/yuzu/main.cpp3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index ef3bdfb1a..c262d0a2b 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -1089,8 +1089,8 @@ QStringList GRenderWindow::GetUnsupportedGLExtensions() const {
1089 } 1089 }
1090 1090
1091 if (!unsupported_ext.empty()) { 1091 if (!unsupported_ext.empty()) {
1092 LOG_ERROR(Frontend, "GPU does not support all required extensions: {}", 1092 const std::string gl_renderer{reinterpret_cast<const char*>(glGetString(GL_RENDERER))};
1093 glGetString(GL_RENDERER)); 1093 LOG_ERROR(Frontend, "GPU does not support all required extensions: {}", gl_renderer);
1094 } 1094 }
1095 for (const QString& ext : unsupported_ext) { 1095 for (const QString& ext : unsupported_ext) {
1096 LOG_ERROR(Frontend, "Unsupported GL extension: {}", ext.toStdString()); 1096 LOG_ERROR(Frontend, "Unsupported GL extension: {}", ext.toStdString());
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index dc7b343d9..653280642 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -3338,7 +3338,8 @@ void GMainWindow::MigrateConfigFiles() {
3338 } 3338 }
3339 const auto origin = config_dir_fs_path / filename; 3339 const auto origin = config_dir_fs_path / filename;
3340 const auto destination = config_dir_fs_path / "custom" / filename; 3340 const auto destination = config_dir_fs_path / "custom" / filename;
3341 LOG_INFO(Frontend, "Migrating config file from {} to {}", origin, destination); 3341 LOG_INFO(Frontend, "Migrating config file from {} to {}", origin.string(),
3342 destination.string());
3342 if (!Common::FS::RenameFile(origin, destination)) { 3343 if (!Common::FS::RenameFile(origin, destination)) {
3343 // Delete the old config file if one already exists in the new location. 3344 // Delete the old config file if one already exists in the new location.
3344 Common::FS::RemoveFile(origin); 3345 Common::FS::RemoveFile(origin);