citra-emu
/
citra-canary
Archived
1
0
Fork 0

revert move

This commit is contained in:
BreadFish64 2018-01-24 10:16:40 -06:00 committed by GitHub
parent eb1b5f588a
commit 1e54b52edf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -77,13 +77,13 @@ public:
setData(game_path, FullPathRole);
setData(qulonglong(program_id), ProgramIdRole);
Loader::SMDH smdh;
if (!Loader::IsValidSMDH(smdh_data)) {
// SMDH is not valid, set a default icon
setData(GetDefaultIcon(true), Qt::DecorationRole);
return;
}
Loader::SMDH smdh;
memcpy(&smdh, smdh_data.data(), sizeof(Loader::SMDH));
// Get icon from SMDH