From 1e54b52edf53cadfe80c8d9e3a5c74a1167adb29 Mon Sep 17 00:00:00 2001 From: BreadFish64 Date: Wed, 24 Jan 2018 10:16:40 -0600 Subject: [PATCH] revert move --- src/citra_qt/game_list_p.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/citra_qt/game_list_p.h b/src/citra_qt/game_list_p.h index 6b68c65b2..7b56287ee 100644 --- a/src/citra_qt/game_list_p.h +++ b/src/citra_qt/game_list_p.h @@ -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