diff --git a/rpcs3/Emu/SysCalls/Modules/cellSysutil_SaveData.cpp b/rpcs3/Emu/SysCalls/Modules/cellSysutil_SaveData.cpp index 1e9a2f8375..61da3e60b9 100644 --- a/rpcs3/Emu/SysCalls/Modules/cellSysutil_SaveData.cpp +++ b/rpcs3/Emu/SysCalls/Modules/cellSysutil_SaveData.cpp @@ -174,7 +174,7 @@ void getSaveDataStat(SaveDataListEntry entry, mem_ptr_t sta fileEntry.st_atime_ = 0; // TODO ? fileEntry.st_mtime_ = 0; // TODO ? fileEntry.st_ctime_ = 0; // TODO ? - memcpy(fileEntry.fileName, (const char*)dirEntry->name.mb_str(), CELL_SAVEDATA_FILENAME_SIZE); + memcpy(fileEntry.fileName, dirEntry->name.c_str(), CELL_SAVEDATA_FILENAME_SIZE); fileEntries.push_back(fileEntry); }