diff --git a/src/browser/starter.js b/src/browser/starter.js index 046a280d..f46c1df7 100644 --- a/src/browser/starter.js +++ b/src/browser/starter.js @@ -237,10 +237,10 @@ function V86Starter(options) // - loads slices of the file asynchronously as requested // - slower get/set - // Heuristics: If file is smaller than 256M, use SyncFileBuffer + // Heuristics: If file is larger than or equal to 256M, use AsyncFileBuffer if(file.async === undefined) { - file.async = file.buffer.size < 256 * 1024 * 1024; + file.async = file.buffer.size >= 256 * 1024 * 1024; } if(file.async)