Skip to content

Commit 05c3c39

Browse files
authored
Merge pull request #1530 from moisesjpelaez/general_changes
Small updates
2 parents e21eb7f + 8a2ec2e commit 05c3c39

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Backends/Kore-HL/kha/arrays/ByteArray.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ abstract ByteArray(ByteArrayPrivate) {
7171
}
7272

7373
public inline function getUint32(byteOffset: Int): Int {
74-
return kinc_bytearray_getuint32(this.self, this.byteArrayOffset + byteOffset);
74+
return kinc_bytearray_getuint32(this.self, this.byteArrayOffset + byteOffset).toInt();
7575
}
7676

7777
public inline function getFloat32(byteOffset: Int): FastFloat {

Backends/Krom/Krom.hx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ extern class Krom {
9393
static function setKeyboardDownCallback(callback: Int->Void): Void;
9494
static function setKeyboardUpCallback(callback: Int->Void): Void;
9595
static function setKeyboardPressCallback(callback: Int->Void): Void;
96+
static function setMouseCursor(cursor: Int): Void;
9697
static function setMouseDownCallback(callback: Int->Int->Int->Void): Void;
9798
static function setMouseUpCallback(callback: Int->Int->Int->Void): Void;
9899
static function setMouseMoveCallback(callback: Int->Int->Int->Int->Void): Void;

0 commit comments

Comments
 (0)