diff options
| author | 2018-07-28 12:35:02 -0400 | |
|---|---|---|
| committer | 2018-08-06 23:06:33 -0400 | |
| commit | 5927cf0e177d1804bcc0d9f95aa3fe1c4d0f6201 (patch) | |
| tree | 889f9111aa75d73b620e332b4949cd8c304692b6 /src/core/loader | |
| parent | Avoid parsing RomFS to directory in NCA (diff) | |
| download | yuzu-5927cf0e177d1804bcc0d9f95aa3fe1c4d0f6201.tar.gz yuzu-5927cf0e177d1804bcc0d9f95aa3fe1c4d0f6201.tar.xz yuzu-5927cf0e177d1804bcc0d9f95aa3fe1c4d0f6201.zip | |
Use const where applicable
Diffstat (limited to 'src/core/loader')
| -rw-r--r-- | src/core/loader/deconstructed_rom_directory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/deconstructed_rom_directory.cpp b/src/core/loader/deconstructed_rom_directory.cpp index cc88a44b6..4a028250b 100644 --- a/src/core/loader/deconstructed_rom_directory.cpp +++ b/src/core/loader/deconstructed_rom_directory.cpp | |||
| @@ -25,7 +25,7 @@ AppLoader_DeconstructedRomDirectory::AppLoader_DeconstructedRomDirectory(FileSys | |||
| 25 | // Icon | 25 | // Icon |
| 26 | FileSys::VirtualFile icon_file = nullptr; | 26 | FileSys::VirtualFile icon_file = nullptr; |
| 27 | for (const auto& language : FileSys::LANGUAGE_NAMES) { | 27 | for (const auto& language : FileSys::LANGUAGE_NAMES) { |
| 28 | icon_file = dir->GetFile("icon_" + language + ".dat"); | 28 | icon_file = dir->GetFile("icon_" + std::string(language) + ".dat"); |
| 29 | if (icon_file != nullptr) { | 29 | if (icon_file != nullptr) { |
| 30 | icon_data = icon_file->ReadAllBytes(); | 30 | icon_data = icon_file->ReadAllBytes(); |
| 31 | break; | 31 | break; |