Free GameControllerMapping return values
This commit is contained in:
parent
00c94a24eb
commit
8c25be5b12
12
src/SDL2.cs
12
src/SDL2.cs
@ -6535,7 +6535,8 @@ namespace SDL2
|
|||||||
return UTF8_ToManaged(
|
return UTF8_ToManaged(
|
||||||
INTERNAL_SDL_GameControllerMappingForIndex(
|
INTERNAL_SDL_GameControllerMappingForIndex(
|
||||||
mapping_index
|
mapping_index
|
||||||
)
|
),
|
||||||
|
true
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6558,7 +6559,8 @@ namespace SDL2
|
|||||||
public static string SDL_GameControllerMappingForGUID(Guid guid)
|
public static string SDL_GameControllerMappingForGUID(Guid guid)
|
||||||
{
|
{
|
||||||
return UTF8_ToManaged(
|
return UTF8_ToManaged(
|
||||||
INTERNAL_SDL_GameControllerMappingForGUID(guid)
|
INTERNAL_SDL_GameControllerMappingForGUID(guid),
|
||||||
|
true
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6573,7 +6575,8 @@ namespace SDL2
|
|||||||
return UTF8_ToManaged(
|
return UTF8_ToManaged(
|
||||||
INTERNAL_SDL_GameControllerMapping(
|
INTERNAL_SDL_GameControllerMapping(
|
||||||
gamecontroller
|
gamecontroller
|
||||||
)
|
),
|
||||||
|
true
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6601,7 +6604,8 @@ namespace SDL2
|
|||||||
int joystick_index
|
int joystick_index
|
||||||
) {
|
) {
|
||||||
return UTF8_ToManaged(
|
return UTF8_ToManaged(
|
||||||
INTERNAL_SDL_GameControllerMappingForDeviceIndex(joystick_index)
|
INTERNAL_SDL_GameControllerMappingForDeviceIndex(joystick_index),
|
||||||
|
true
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user