mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-29 03:24:36 +00:00
Merge pull request #133 from bagedevimo/fix
Fixes invalid conversion from wxStringConst, to std::string under gcc-4-8
This commit is contained in:
commit
a7fbd5c9b6
@ -102,7 +102,7 @@ int cellSaveDataListSave2(u32 version, mem_ptr_t<CellSaveDataSetList> setList, m
|
|||||||
if(!dir.IsOpened())
|
if(!dir.IsOpened())
|
||||||
return CELL_SAVEDATA_ERROR_INTERNAL;
|
return CELL_SAVEDATA_ERROR_INTERNAL;
|
||||||
|
|
||||||
std::string dirNamePrefix = Memory.ReadString(setList->dirNamePrefix_addr).mb_str();
|
std::string dirNamePrefix = std::string(Memory.ReadString(setList->dirNamePrefix_addr).mb_str());
|
||||||
std::vector<SaveDataListEntry> saveEntries;
|
std::vector<SaveDataListEntry> saveEntries;
|
||||||
for(const DirEntryInfo* entry = dir.Read(); entry; entry = dir.Read())
|
for(const DirEntryInfo* entry = dir.Read(); entry; entry = dir.Read())
|
||||||
{
|
{
|
||||||
@ -165,7 +165,7 @@ int cellSaveDataListLoad2(u32 version, mem_ptr_t<CellSaveDataSetList> setList, m
|
|||||||
if(!dir.IsOpened())
|
if(!dir.IsOpened())
|
||||||
return CELL_SAVEDATA_ERROR_INTERNAL;
|
return CELL_SAVEDATA_ERROR_INTERNAL;
|
||||||
|
|
||||||
std::string dirNamePrefix = Memory.ReadString(setList->dirNamePrefix_addr).mb_str();
|
std::string dirNamePrefix = std::string(Memory.ReadString(setList->dirNamePrefix_addr).mb_str());
|
||||||
std::vector<SaveDataListEntry> saveEntries;
|
std::vector<SaveDataListEntry> saveEntries;
|
||||||
for(const DirEntryInfo* entry = dir.Read(); entry; entry = dir.Read())
|
for(const DirEntryInfo* entry = dir.Read(); entry; entry = dir.Read())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user