Fix file loading size bug

This commit is contained in:
Justin C. Miller
2020-03-02 19:31:40 -08:00
parent d94907ae79
commit 884182217c

View File

@@ -73,6 +73,7 @@ file::load(size_t *out_size)
pages, &data),
L"Could not allocate pages to load file");
size = info->file_size;
try_or_raise(
m_file->read(&size, data),
L"Could not read from file");