diff options
author | Lioncash <mathew1800@gmail.com> | 2019-04-03 23:58:56 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-04-03 23:58:58 -0400 |
commit | 3f8c9b25d8bf0423bc0e390a2302cb7893cac11e (patch) | |
tree | 0dc545e16bc62385feaa9dce73a7274f6b330be7 /src/yuzu/main.cpp | |
parent | 872d480c6063d77c4e3f29b9a6a357fa8b874fb6 (diff) |
yuzu/main: Remove unnecessary string concatenation in OnTransferableShaderCacheOpenFile()
We can just make the trailing portion of the string part of the
formatting, getting rid of the need to make another temporary string.
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r-- | src/yuzu/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 6f1d10e17c..cff5d9df8d 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -1094,7 +1094,7 @@ void GMainWindow::OnTransferableShaderCacheOpenFile(u64 program_id) { const QString transferable_shader_cache_file_path = tranferable_shader_cache_folder_path + DIR_SEP + - QString::fromStdString(fmt::format("{:016X}", program_id)) + ".bin"; + QString::fromStdString(fmt::format("{:016X}.bin", program_id)); if (!QFile::exists(transferable_shader_cache_file_path)) { QMessageBox::warning(this, tr("Error Opening %1 File").arg(open_target), |