Read replay faster as well
This commit is contained in:
parent
212a10e16c
commit
06ca80a529
@ -43,7 +43,7 @@ impl StandaloneReplayManager {
|
||||
if let Some(mut file) = FileAccess::open(path, ModeFlags::READ) {
|
||||
let mut bytes = Vec::new();
|
||||
while !file.eof_reached() {
|
||||
bytes.push(file.get_8());
|
||||
bytes.extend(file.get_buffer(1_000_000).to_vec());
|
||||
}
|
||||
|
||||
let bytes = Cursor::new(&mut bytes);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user