Skip to content
Snippets Groups Projects
Commit 2f9a5e46 authored by deuce's avatar deuce
Browse files

Add in a buffer to the .open command for the load method.

parent 7f5ea120
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@ function Graphic_load(filename)
var y;
var f=new File(filename);
if(!(f.open("rb",true)))
if(!(f.open("rb",true,4096)))
return(false);
for(y=0; y<this.height; y++) {
for(x=0; x<this.width; x++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment