mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
btm: Fixed backwards sysver check in _btmCmdGetEventOutFlag.
This commit is contained in:
parent
4a33b32f43
commit
587115f10a
@ -28,7 +28,7 @@ static Result _btmCmdGetEventOutFlag(Event* out_event, bool autoclear, u32 cmd_i
|
|||||||
Handle tmp_handle = INVALID_HANDLE;
|
Handle tmp_handle = INVALID_HANDLE;
|
||||||
Result rc = 0;
|
Result rc = 0;
|
||||||
|
|
||||||
if (hosversionBefore(3,0,0)) {
|
if (hosversionAtLeast(3,0,0)) {
|
||||||
u8 out=0;
|
u8 out=0;
|
||||||
rc = serviceDispatchOut(&g_btmSrv, cmd_id, out,
|
rc = serviceDispatchOut(&g_btmSrv, cmd_id, out,
|
||||||
.out_handle_attrs = { SfOutHandleAttr_HipcCopy },
|
.out_handle_attrs = { SfOutHandleAttr_HipcCopy },
|
||||||
|
Loading…
Reference in New Issue
Block a user