mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
setsys: Updated sysver check for setsysNeedsToUpdateHeadphoneVolume.
This commit is contained in:
parent
8b77139a04
commit
ea145a8d3c
@ -1690,7 +1690,7 @@ Result setsysSetHeadphoneVolumeUpdateFlag(bool flag);
|
||||
|
||||
/**
|
||||
* @brief NeedsToUpdateHeadphoneVolume
|
||||
* @note Only available on [3.0.0+].
|
||||
* @note Only available on [3.0.0-14.1.2].
|
||||
* @param[out] a0 Output arg.
|
||||
* @param[out] a1 Output arg.
|
||||
* @param[out] a2 Output arg.
|
||||
|
@ -895,7 +895,7 @@ Result setsysSetHeadphoneVolumeUpdateFlag(bool flag) {
|
||||
}
|
||||
|
||||
Result setsysNeedsToUpdateHeadphoneVolume(u8 *a0, u8 *a1, u8 *a2, bool flag) {
|
||||
if (hosversionBefore(3,0,0))
|
||||
if (!hosversionBetween(3,15))
|
||||
return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
||||
|
||||
struct {
|
||||
|
Loading…
Reference in New Issue
Block a user