mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 12:32:43 +00:00
Revert "Implement CELL_SAVEDATA_FILEOP_WRITE_NOTRUNC"
This reverts commit c5ca1991636be922e64d65ec63d8207e33961c61.
This commit is contained in:
parent
c1a6767187
commit
2545372a76
@ -279,10 +279,7 @@ s32 modifySaveDataFiles(vm::ptr<CellSaveDataFileCallback> funcFile, vm::ptr<Cell
|
||||
break;
|
||||
|
||||
case CELL_SAVEDATA_FILEOP_WRITE_NOTRUNC:
|
||||
// Does it really write without trunctation?
|
||||
Emu.GetVFS().CreateFile(filepath);
|
||||
file = Emu.GetVFS().OpenFile(filepath, vfsWrite);
|
||||
fileGet->excSize = (u32)file->Write(buf, (u32)std::min(fileSet->fileSize, fileSet->fileBufSize)); // TODO: This may fail for big files because of the dest pointer.
|
||||
cellSysutil->Warning("modifySaveDataFiles: File operation CELL_SAVEDATA_FILEOP_WRITE_NOTRUNC not yet implemented");
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user