mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
yuzu: Fix fmt 9.0.0 issues
This commit is contained in:
parent
795ccc058d
commit
e2123b27e8
|
@ -1089,8 +1089,8 @@ QStringList GRenderWindow::GetUnsupportedGLExtensions() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!unsupported_ext.empty()) {
|
if (!unsupported_ext.empty()) {
|
||||||
LOG_ERROR(Frontend, "GPU does not support all required extensions: {}",
|
const std::string gl_renderer{reinterpret_cast<const char*>(glGetString(GL_RENDERER))};
|
||||||
glGetString(GL_RENDERER));
|
LOG_ERROR(Frontend, "GPU does not support all required extensions: {}", gl_renderer);
|
||||||
}
|
}
|
||||||
for (const QString& ext : unsupported_ext) {
|
for (const QString& ext : unsupported_ext) {
|
||||||
LOG_ERROR(Frontend, "Unsupported GL extension: {}", ext.toStdString());
|
LOG_ERROR(Frontend, "Unsupported GL extension: {}", ext.toStdString());
|
||||||
|
|
|
@ -3338,7 +3338,8 @@ void GMainWindow::MigrateConfigFiles() {
|
||||||
}
|
}
|
||||||
const auto origin = config_dir_fs_path / filename;
|
const auto origin = config_dir_fs_path / filename;
|
||||||
const auto destination = config_dir_fs_path / "custom" / filename;
|
const auto destination = config_dir_fs_path / "custom" / filename;
|
||||||
LOG_INFO(Frontend, "Migrating config file from {} to {}", origin, destination);
|
LOG_INFO(Frontend, "Migrating config file from {} to {}", origin.string(),
|
||||||
|
destination.string());
|
||||||
if (!Common::FS::RenameFile(origin, destination)) {
|
if (!Common::FS::RenameFile(origin, destination)) {
|
||||||
// Delete the old config file if one already exists in the new location.
|
// Delete the old config file if one already exists in the new location.
|
||||||
Common::FS::RemoveFile(origin);
|
Common::FS::RemoveFile(origin);
|
||||||
|
|
Loading…
Reference in a new issue