diff --git a/Backends/Kore-HL/kha/arrays/ByteArray.hx b/Backends/Kore-HL/kha/arrays/ByteArray.hx index cf55c946e..10fc4de3b 100644 --- a/Backends/Kore-HL/kha/arrays/ByteArray.hx +++ b/Backends/Kore-HL/kha/arrays/ByteArray.hx @@ -71,7 +71,7 @@ abstract ByteArray(ByteArrayPrivate) { } public inline function getUint32(byteOffset: Int): Int { - return kinc_bytearray_getuint32(this.self, this.byteArrayOffset + byteOffset); + return kinc_bytearray_getuint32(this.self, this.byteArrayOffset + byteOffset).toInt(); } public inline function getFloat32(byteOffset: Int): FastFloat { diff --git a/Backends/Krom/Krom.hx b/Backends/Krom/Krom.hx index 3e56d86e2..d122f8f34 100644 --- a/Backends/Krom/Krom.hx +++ b/Backends/Krom/Krom.hx @@ -93,6 +93,7 @@ extern class Krom { static function setKeyboardDownCallback(callback: Int->Void): Void; static function setKeyboardUpCallback(callback: Int->Void): Void; static function setKeyboardPressCallback(callback: Int->Void): Void; + static function setMouseCursor(cursor: Int): Void; static function setMouseDownCallback(callback: Int->Int->Int->Void): Void; static function setMouseUpCallback(callback: Int->Int->Int->Void): Void; static function setMouseMoveCallback(callback: Int->Int->Int->Int->Void): Void;