Skip to content
Snippets Groups Projects
Commit 3f8c9b25 authored by Lioncash's avatar Lioncash
Browse files

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.
parent 872d480c
No related branches found
No related tags found
No related merge requests found
...@@ -1094,7 +1094,7 @@ void GMainWindow::OnTransferableShaderCacheOpenFile(u64 program_id) { ...@@ -1094,7 +1094,7 @@ void GMainWindow::OnTransferableShaderCacheOpenFile(u64 program_id) {
const QString transferable_shader_cache_file_path = const QString transferable_shader_cache_file_path =
tranferable_shader_cache_folder_path + DIR_SEP + 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)) { if (!QFile::exists(transferable_shader_cache_file_path)) {
QMessageBox::warning(this, tr("Error Opening %1 File").arg(open_target), QMessageBox::warning(this, tr("Error Opening %1 File").arg(open_target),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment