Skip to content

Commit 87c9f85

Browse files
Chixpysuve
authored andcommitted
Fixing SDL_AUDIO_ISLITTLEENDIAN in sdl2.pas
1 parent 0fcaf6a commit 87c9f85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

units/sdl2.pas

+1-1
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ function SDL_AUDIO_ISINT(x: Cardinal): Cardinal;
351351

352352
function SDL_AUDIO_ISLITTLEENDIAN(x: Cardinal): Cardinal;
353353
begin
354-
Result := not SDL_AUDIO_ISLITTLEENDIAN(x);
354+
Result := not SDL_AUDIO_ISBIGENDIAN(x);
355355
end;
356356

357357
function SDL_AUDIO_ISUNSIGNED(x: Cardinal): Cardinal;

0 commit comments

Comments
 (0)