fix arg order

This commit is contained in:
Adam Powers
2020-08-29 14:48:22 -07:00
parent 4ef48ca49a
commit 14084dc50c
+1 -1
View File
@@ -87,7 +87,7 @@ function setGraphicsCallback() {
// this is the "shim graphics" callback function // this is the "shim graphics" callback function
// it gets called every time something needs to be displayed // it gets called every time something needs to be displayed
// or input needs to be gathered from the user // or input needs to be gathered from the user
function windowCallback(name, fmt, retPtr, args) { function windowCallback(name, retPtr, fmt, args) {
name = Module.UTF8ToString(name); name = Module.UTF8ToString(name);
fmt = Module.UTF8ToString(fmt); fmt = Module.UTF8ToString(fmt);
let argTypes = fmt.split(""); let argTypes = fmt.split("");