diff --git a/JS-API-Documentation.html b/JS-API-Documentation.html index 91642b850..4a68b7644 100644 --- a/JS-API-Documentation.html +++ b/JS-API-Documentation.html @@ -721,7 +721,7 @@ Returns a constructor function that will create an object representing a structu
fs.writefile("ram_dump.bin", mem.getblock(K0BASE, mem.ramSize));@@ -731,7 +731,7 @@ Returns a block of data from memory as a data may be one of the following types: ArrayBuffer, -Buffer, +Buffer, DataView, TypedArray, string.
@@ -1172,9 +1172,9 @@ Creates an N64Image object. width: Width of the image.
height: Height of the image.
format: Optional image format. IMG_RGBA32 by default. See the table below for supported formats.
-pixels: Optional Buffer object containing pixel data. +pixels: Optional Buffer object containing pixel data. The byte length must be equal to (width * height * N64Image.bpp(format)) / 8. Copied to image.pixels.
-palette: Optional Buffer object containing palette data. Copied to image.palette. +palette: Optional Buffer object containing palette data. Copied to image.palette.