Skip to content

Releases: switchbrew/libnx

v4.8.0

25 Nov 03:46
2e2b110
Compare
Choose a tag to compare

What's Changed

  • Add missing hid shared memory structures and accessor functions for system buttons by @ndeadly in #647
  • bt: fill in unknowns and update function parameters to match their btdrv counterparts by @ndeadly in #644
  • spl: add missing service header by @IrneRacoonovich in #649
  • Basic support for 19.0.0 by @SciresM in #651
  • btm: add audio profile by @ndeadly in #650
  • use nproc for max jobs on github workflow by @WinterMute in #652

New Contributors

Recommended and supported installation is through devkitPro pacman

libnx 4.7.0

15 Jun 16:18
c769852
Compare
Choose a tag to compare

What's Changed

New Contributors

libnx 4.6.0

17 Dec 20:22
99edb1c
Compare
Choose a tag to compare

What's Changed

  • svc: fix query/insecure names by @SciresM in #630
  • Add NX_ prefix to PACKED, NORETURN, IGNORE_ARG and DEPRECATED macros by @Ghabry in #632
  • add fsDeviceOperatorGetGameCardUpdatePartitionInfo by @ITotalJustice in #635
  • Fix: avoid segfault at static destructors by @ThisALV in #638

New Contributors

libnx v4.5.0

27 Oct 22:49
bb0ae8a
Compare
Choose a tag to compare

services

  • btdrv: Missing definitions for ble were added
  • capsdc: Updated for [17.0.0+]
  • hidsys: Support was added for many commands
  • fs:
    • Updated for [17.0.0+]
    • Support was added for many fsDeviceOperator commands
  • ncm: Updated for [17.0.0+]
  • nfc: Support was added for all remaining commands
  • ns: Added nsEstimateSizeToMove
  • pctl: Support was added for many commands
  • ssl: Updated sslConnectionSetPrivateOption for [17.0.0+]
  • ts: Updated for [17.0.0+]

devices

  • socket: Updated wrapper to automatically select latest available bsd service version (fixes multicast support)

miscellaneous

  • The linker script/crt0 were updated to support relro
  • A bug was fixed in aes-cbc block decryption
  • A number of problems were corrected involving incorrect ipc serialization with pointer arguments

Several issues were fixed, and usability and stability were improved.

libnx 4.4.2

27 May 15:23
8ce306b
Compare
Choose a tag to compare

system

  • ensure correct addresses for bss

miscellaneous

  • fix timezone to allow +/- and alphanumrics
  • end compile_commmands generation when elf linked

libnx 4.4.1

27 May 14:19
dc0de47
Compare
Choose a tag to compare

miscellaneous

  • add missing separator to local path

Several issues were fixed, and usability and stability were improved.

libnx 4.4.0

27 May 14:18
a6686ae
Compare
Choose a tag to compare

services

  • applet: add appletGetMessageEvent
  • usbcomms: add async API
  • usbcomms: expose VID:PID configuration

miscellaneous

  • correct problems revealed by gcc 13
  • mitigate race condition bug in nvservices

Several issues were fixed, and usability and stability were improved.

libnx 4.3.0

02 Apr 19:13
dca4fb7
Compare
Choose a tag to compare

services

  • applet: Updated for [15.0.0+]. Added __nx_applet_init_timeout
  • audctl:
    • Added audctlGetActiveOutputTarget.
    • Fixed TargetVolume functions.
  • auddev: Added auddevGetActiveAudioDeviceName.
  • bpc: Fixed GetSleepButtonState/GetPowerButton.
  • fs: Updated for [16.0.0+]
  • hiddbg: Changed hiddbgAttachHdlsWorkBuffer to accept a user-supplied buffer and size.
  • ncm: Updated for [15.0.0+] and [16.0.0+].
  • pdm:
    • Updated for [16.0.0+].
    • Fixed pdmqryQueryAccountEvent on older sysvers.
    • Updated structs.
  • pl: Added [16.0.0+] sysver checks.
  • ssl:
    • Added support for new [16.0.0+] functionality.
    • Added ssl:s support [15.0.0+].
    • Added sslClearTls12FallbackFlag [14.0.0+].
    • Updated SslCaCertificateId enum.
  • usbhs: Added the remaining cmds and expose more functionality.
  • vi: Added [16.0.0+] Manager commands.
  • wlaninf: Added sysver check to account for its removal in [15.0.0+].

devices

  • nxlinkConnectToHost: Added timeout to avoid long hang when -s isn't specified for nxlink.

miscellaneous

  • Added CMSG macros to BSD headers.

Several issues were fixed, and usability and stability were improved.

libnx v4.2.2

16 Oct 17:40
c4c9a6a
Compare
Choose a tag to compare

system

  • svc: Added svcMapInsecureMemory, svcUnmapInsecureMemory [15.0.0+].
  • svc: Renamed perm parameter of svcMapDeviceAddressSpaceByForce and svcMapDeviceAddressSpaceAligned to option [15.0.0+].
  • svc: Corrected svcMapIoRegion, svcUnmapIoRegion.
  • env: Added HBABI support for hinting SVCs in the extended range 0x80..0xBF.
  • cache: Added instruction barrier to armICacheInvalidate.

graphics

  • Added nvGpuGetTimestamp, nvioctlNvhostCtrlGpu_GetGpuTime.

applets

  • swkbd: Corrected several typos and incorrect floating point values.

network

  • socket: Added socketNifmRequestRegisterSocketDescriptor, socketNifmRequestUnregisterSocketDescriptor.
  • nifm: nifmRequestSetKeptInSleep, nifmRequestRegisterSocketDescriptor, nifmRequestUnregisterSocketDescriptor, nifmSetWowlDelayedWakeTime.

other services

  • set:sys: setsysNeedsToUpdateHeadphoneVolume removed in [15.0.0].
  • pdm:qry: pdmqryQueryRecentlyPlayedApplication, pdmqryGetRecentlyPlayedApplicationUpdateEvent removed in [15.0.0].

Several issues were fixed, and usability and stability were improved.

libnx v4.2.1

22 May 21:18
3a508e1
Compare
Choose a tag to compare

system

  • cache: Adjusted cache maintenance ABI for [14.0.0+].
  • svc: Added InfoType_IsSvcPermitted [14.0.0+].
  • svc: Removed svcCallSecureMonitor's non-existent return type.
  • svc: Fixed definition of MemoryInfo struct.
  • ldscript: Generated ELFs now start with the .text section (required by GDB).

filesystem

  • Added fsOpenSaveDataInfoReaderWithFilter.
  • Added fsCreate_TemporaryStorage.
  • Fixed bug in fsOpen_TemporaryStorage.

graphics

  • Added nvIoctl3.
  • Adjusted hos version requirements in nvIoctl2 [3.0.0+].
  • Adjusted list of IOCTLs that use the cloned NV service session.
  • console: Added support for SGR 38/48 escape sequences.
  • console: Bold/Faint attributes no longer applied to the background.

input

  • hid: Added hidGetNpadLagerType, hidGetNpadStatesLager.
  • hid: Added HidNpadLagerType enum.
  • hid: Added HidNpadLagerState struct.
  • hid: Updated HidNpadStyleTag, HidNpadButton, HidDeviceTypeBits, HidDeviceType, HidAppletFooterUiType enums.
  • hid: Updated HidNpadInternalState struct.
  • hidsys: Added hidsysAcquireUniquePadConnectionEventHandle, hidsysGetUniquePadBluetoothAddress, hidsysDisconnectUniquePad, hidsysGetUniquePadType, hidsysGetUniquePadInterface, hidsysGetUniquePadControllerNumber.
  • hidsys: Added HidsysUniquePadType enum.

other

  • Added BITL() macro (unsigned long, i.e. 64-bit unsigned integer).
  • bpc: Adjusted for removed commands in [14.0.0+].
  • bpc: Added bpcGetPowerButton [6.0.0+].
  • btdrv: Adjusted for removed commands in [14.0.0+].
  • btm: Corrected inverted hos version check affecting several commands.
  • nfc: Added nfcSendCommandByPassThrough, nfcKeepPassThroughSession, nfcReleasePassThroughSession.
  • pm: Added support for [14.0.0+].
  • ts: Adjusted for removed commands in [14.0.0+].

Several issues were fixed, and usability and stability were improved.