Update src/yuzu/main.cpp

Co-authored-by: Tobias <thm.frey@gmail.com>
This commit is contained in:
Jeroen van Schijndel 2023-09-29 12:07:47 +02:00 committed by GitHub
parent ff5b7673c3
commit 3405e7fba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2717,7 +2717,7 @@ void GMainWindow::OnGameListCreateShortcut(u64 program_id, const std::string& ga
std::string title{fmt::format("{:016X}", program_id)};
if (control.first != nullptr) {
if (control.first) {
title = control.first->GetApplicationName();
} else {
loader->ReadTitle(title);