summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index cff5d9df8..980aed496 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1087,7 +1087,6 @@ void GMainWindow::OnGameListOpenFolder(u64 program_id, GameListOpenTarget target
1087void GMainWindow::OnTransferableShaderCacheOpenFile(u64 program_id) { 1087void GMainWindow::OnTransferableShaderCacheOpenFile(u64 program_id) {
1088 ASSERT(program_id != 0); 1088 ASSERT(program_id != 0);
1089 1089
1090 const QString open_target = QStringLiteral("Transferable Shader Cache");
1091 const QString tranferable_shader_cache_folder_path = 1090 const QString tranferable_shader_cache_folder_path =
1092 QString::fromStdString(FileUtil::GetUserPath(FileUtil::UserPath::ShaderDir)) + "opengl" + 1091 QString::fromStdString(FileUtil::GetUserPath(FileUtil::UserPath::ShaderDir)) + "opengl" +
1093 DIR_SEP + "transferable"; 1092 DIR_SEP + "transferable";
@@ -1097,8 +1096,8 @@ void GMainWindow::OnTransferableShaderCacheOpenFile(u64 program_id) {
1097 QString::fromStdString(fmt::format("{:016X}.bin", program_id)); 1096 QString::fromStdString(fmt::format("{:016X}.bin", program_id));
1098 1097
1099 if (!QFile::exists(transferable_shader_cache_file_path)) { 1098 if (!QFile::exists(transferable_shader_cache_file_path)) {
1100 QMessageBox::warning(this, tr("Error Opening %1 File").arg(open_target), 1099 QMessageBox::warning(this, tr("Error Opening Transferable Shader Cache"),
1101 tr("File does not exist!")); 1100 tr("A shader cache for this title does not exist."));
1102 return; 1101 return;
1103 } 1102 }
1104 1103