Skip to content

Commit e7da1eb

Browse files
committed
Added MarshalAs to IsOnTheBeat method.
1 parent 254d02e commit e7da1eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

RhythmGameUtilities/Scripts/Utilities.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public static extern int ConvertSecondsToTicksInternal(float seconds, int resolu
1515
int tempoChangesSize, TimeSignature[] timeSignatures, int timeSignaturesSize);
1616

1717
[DllImport("libRhythmGameUtilities", CallingConvention = CallingConvention.Cdecl)]
18+
[return : MarshalAs(UnmanagedType.I1)]
1819
public static extern bool IsOnTheBeatInternal(int bpm, float currentTime, float delta);
1920

2021
[DllImport("libRhythmGameUtilities", CallingConvention = CallingConvention.Cdecl)]

0 commit comments

Comments
 (0)