diff options
| author | comex <comexk@gmail.com> | 2014-10-28 23:38:58 -0400 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2014-10-28 23:38:58 -0400 |
| commit | 7747c9efbb35d5c3cd79f54f3c00721346eb24b5 (patch) | |
| tree | 6a3336cdb124d63e98b88d47b5f3275161d7138e /Source/Core/DiscIO/FileSystemGCWii.cpp | |
| parent | 3247f28048abd8dde6f2fd08a2f279bd468084cc (diff) | |
| parent | d1d70c1a7d506519318920e8736be6a1b4febb41 (diff) | |
Merge pull request #1429 from lioncash/concat
FileSystemGCWii: Shorten some string concatenations
Diffstat (limited to 'Source/Core/DiscIO/FileSystemGCWii.cpp')
| -rw-r--r-- | Source/Core/DiscIO/FileSystemGCWii.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/DiscIO/FileSystemGCWii.cpp b/Source/Core/DiscIO/FileSystemGCWii.cpp index 727440500e..d39d803e11 100644 --- a/Source/Core/DiscIO/FileSystemGCWii.cpp +++ b/Source/Core/DiscIO/FileSystemGCWii.cpp @@ -132,8 +132,7 @@ bool CFileSystemGCWii::ExportApploader(const std::string& _rExportFolder) const std::vector<u8> buffer(AppSize); if (m_rVolume->Read(0x2440, AppSize, &buffer[0])) { - std::string exportName(_rExportFolder); - exportName += "/apploader.img"; + std::string exportName(_rExportFolder + "/apploader.img"); File::IOFile AppFile(exportName, "wb"); if (AppFile) @@ -185,8 +184,7 @@ bool CFileSystemGCWii::ExportDOL(const std::string& _rExportFolder) const std::vector<u8> buffer(DolSize); if (m_rVolume->Read(DolOffset, DolSize, &buffer[0])) { - std::string exportName(_rExportFolder); - exportName += "/boot.dol"; + std::string exportName(_rExportFolder + "/boot.dol"); File::IOFile DolFile(exportName, "wb"); if (DolFile) |
