mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 10:51:50 -05:00
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.
This commit is contained in:
parent
872d480c60
commit
3f8c9b25d8
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue