mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
fix type mismatches
This commit is contained in:
parent
dca4fb772a
commit
f73cecc31b
@ -1270,7 +1270,7 @@ Result btdrvUnregisterGattNotification(u32 connection_handle, bool primary_servi
|
||||
* @param[in] size Output buffer size.
|
||||
* @oaram[out] type Output BleEventType.
|
||||
*/
|
||||
Result btdrvGetLeHidEventInfo(void* buffer, size_t size, u32 *type);
|
||||
Result btdrvGetLeHidEventInfo(void* buffer, size_t size, BtdrvBleEventType *type);
|
||||
|
||||
/**
|
||||
* @brief RegisterBleHidEvent
|
||||
|
@ -582,7 +582,7 @@ Result webConfigSetWebAudio(WebCommonConfig* config, bool flag) {
|
||||
return _webConfigSetFlag(config, WebArgType_WebAudio, flag);
|
||||
}
|
||||
|
||||
Result webConfigSetFooterFixedKind(WebCommonConfig* config, u32 kind) {
|
||||
Result webConfigSetFooterFixedKind(WebCommonConfig* config, WebFooterFixedKind kind) {
|
||||
WebShimKind shim = _webGetShimKind(config);
|
||||
if (shim != WebShimKind_Offline && shim != WebShimKind_Web) return MAKERESULT(Module_Libnx, LibnxError_NotInitialized);
|
||||
if (hosversionBefore(5,0,0)) return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||
|
@ -1722,7 +1722,7 @@ bool appletHolderCheckFinished(AppletHolder *h) {
|
||||
return R_SUCCEEDED(eventWait(&h->StateChangedEvent, 0));
|
||||
}
|
||||
|
||||
u32 appletHolderGetExitReason(AppletHolder *h) {
|
||||
LibAppletExitReason appletHolderGetExitReason(AppletHolder *h) {
|
||||
return h->exitreason;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user