diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-20 16:53:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-20 16:53:52 +0200 |
commit | 6ee8b15abe4d0d78439e93c9d49da1331f24bdbc (patch) | |
tree | c287393ca3e0e7a0aa66e16a4561714ba6f8eee7 | |
parent | Merge pull request #1089 from Subv/neg_bits (diff) | |
parent | game_list: Avoid uninitialized variables when retrieving program ID (diff) | |
download | yuzu-6ee8b15abe4d0d78439e93c9d49da1331f24bdbc.tar yuzu-6ee8b15abe4d0d78439e93c9d49da1331f24bdbc.tar.gz yuzu-6ee8b15abe4d0d78439e93c9d49da1331f24bdbc.tar.bz2 yuzu-6ee8b15abe4d0d78439e93c9d49da1331f24bdbc.tar.lz yuzu-6ee8b15abe4d0d78439e93c9d49da1331f24bdbc.tar.xz yuzu-6ee8b15abe4d0d78439e93c9d49da1331f24bdbc.tar.zst yuzu-6ee8b15abe4d0d78439e93c9d49da1331f24bdbc.zip |
-rw-r--r-- | src/yuzu/game_list.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp index f867118d9..bc4b93033 100644 --- a/src/yuzu/game_list.cpp +++ b/src/yuzu/game_list.cpp @@ -438,7 +438,7 @@ void GameListWorker::AddInstalledTitlesToGameList() { std::vector<u8> icon; std::string name; - u64 program_id; + u64 program_id = 0; loader->ReadProgramId(program_id); const auto& control = @@ -509,7 +509,7 @@ void GameListWorker::AddFstEntriesToGameList(const std::string& dir_path, unsign std::vector<u8> icon; const auto res1 = loader->ReadIcon(icon); - u64 program_id; + u64 program_id = 0; const auto res2 = loader->ReadProgramId(program_id); std::string name = " "; |