merge and respond to feedback

This commit is contained in:
Mackenzie Clark
2019-03-28 11:41:45 -07:00
20 changed files with 234 additions and 41 deletions

View File

@ -123,7 +123,7 @@ impl EmscriptenVfs {
Some(FileHandle::Vf(file)) => {
let count = {
let mut result = RefCell::borrow_mut(&file);
let result = result.read(buf_slice);
let result = result.read_file(buf_slice, 0);
result.unwrap()
};
count as _