mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
Merge pull request #1429 from lioncash/concat
FileSystemGCWii: Shorten some string concatenations
This commit is contained in:
commit
7747c9efbb
@ -132,8 +132,7 @@ bool CFileSystemGCWii::ExportApploader(const std::string& _rExportFolder) const
|
|||||||
std::vector<u8> buffer(AppSize);
|
std::vector<u8> buffer(AppSize);
|
||||||
if (m_rVolume->Read(0x2440, AppSize, &buffer[0]))
|
if (m_rVolume->Read(0x2440, AppSize, &buffer[0]))
|
||||||
{
|
{
|
||||||
std::string exportName(_rExportFolder);
|
std::string exportName(_rExportFolder + "/apploader.img");
|
||||||
exportName += "/apploader.img";
|
|
||||||
|
|
||||||
File::IOFile AppFile(exportName, "wb");
|
File::IOFile AppFile(exportName, "wb");
|
||||||
if (AppFile)
|
if (AppFile)
|
||||||
@ -185,8 +184,7 @@ bool CFileSystemGCWii::ExportDOL(const std::string& _rExportFolder) const
|
|||||||
std::vector<u8> buffer(DolSize);
|
std::vector<u8> buffer(DolSize);
|
||||||
if (m_rVolume->Read(DolOffset, DolSize, &buffer[0]))
|
if (m_rVolume->Read(DolOffset, DolSize, &buffer[0]))
|
||||||
{
|
{
|
||||||
std::string exportName(_rExportFolder);
|
std::string exportName(_rExportFolder + "/boot.dol");
|
||||||
exportName += "/boot.dol";
|
|
||||||
|
|
||||||
File::IOFile DolFile(exportName, "wb");
|
File::IOFile DolFile(exportName, "wb");
|
||||||
if (DolFile)
|
if (DolFile)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user