diff --git a/nx/include/switch/services/btdrv.h b/nx/include/switch/services/btdrv.h index 30669934..48bd71ca 100644 --- a/nx/include/switch/services/btdrv.h +++ b/nx/include/switch/services/btdrv.h @@ -1439,7 +1439,7 @@ Result btdrvGetAudioControlInputState(BtdrvAudioControlButtonState *states, s32 /** * @brief AcquireAudioConnectionStateChangedEvent - * @note Only available on [12.0.0+]. + * @note Only available on [12.0.0-13.2.1]. * @param[out] out_event Output Event. * @param[in] autoclear Event autoclear. */ @@ -1447,7 +1447,7 @@ Result btdrvAcquireAudioConnectionStateChangedEvent(Event* out_event, bool autoc /** * @brief GetConnectedAudioDevice - * @note Only available on [12.0.0+]. + * @note Only available on [12.0.0-13.2.1]. * @param[out] addrs Output array of \ref BtdrvAddress. * @param[in] count Size of the addrs array in entries, the maximum is 0x8. * @param[out] total_out Total output entries. diff --git a/nx/source/services/btdrv.c b/nx/source/services/btdrv.c index 1c67a95a..a338007c 100644 --- a/nx/source/services/btdrv.c +++ b/nx/source/services/btdrv.c @@ -1391,14 +1391,14 @@ Result btdrvGetAudioControlInputState(BtdrvAudioControlButtonState *states, s32 } Result btdrvAcquireAudioConnectionStateChangedEvent(Event* out_event, bool autoclear) { - if (hosversionBefore(12,0,0)) + if (!hosversionBetween(12, 14)) return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer); return _btdrvCmdGetEvent(out_event, autoclear, 144); } Result btdrvGetConnectedAudioDevice(BtdrvAddress *addrs, s32 count, s32 *total_out) { - if (hosversionBefore(12,0,0)) + if (!hosversionBetween(12, 14)) return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer); return _btdrvCmdOutU32OutBuf(addrs, count*sizeof(BtdrvAddress), (u32*)total_out, 145);