MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / ReadFileWithProgress

Method ReadFileWithProgress

common/FileSystem.cpp:1235–1241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1233}
1234
1235size_t FileSystem::ReadFileWithProgress(std::FILE* fp, void* dst, size_t length,
1236 ProgressCallback* progress, Error* error, size_t chunk_size)
1237{
1238 progress->SetProgressRange(100);
1239
1240 return FileSystem::ReadFileWithPartialProgress(fp, dst, length, progress, 0, 100, error, chunk_size);
1241}
1242
1243size_t FileSystem::ReadFileWithPartialProgress(std::FILE* fp, void* dst, size_t length,
1244 ProgressCallback* progress, int startPercent, int endPercent, Error* error, size_t chunk_size)

Callers

nothing calls this directly

Calls 1

SetProgressRangeMethod · 0.45

Tested by

no test coverage detected