diff --git a/Changelog.md b/Changelog.md index a5c72841..6922d0f4 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,17 +1,17 @@ -# Changelog - -## Version 1.1.0 - -* Fixed a race condition in HID causing sporadic incorrect key-releases when using hidKeysHeld(). -* Unix socket API is now supported. -* Time support, currently only UTC. -* Added hidMouseRead(). -* Added settings-services support. -* Added gfxSetDrawFlip() and gfxConfigureTransform(). -* Proper (libnx-side) RomFS support. Initial fsStorage support / other fs(dev) changes. -* The console font is now 16x16. -* Fixed args parsing with quotes. -* Various audio adjustments + added audoutWaitPlayFinish(). -* More irs (irsensor) support. -* Added usleep(). -* General system stability improvements to enhance the user's experience. +# Changelog + +## Version 1.1.0 + +* Fixed a race condition in HID causing sporadic incorrect key-releases when using hidKeysHeld(). +* Unix socket API is now supported. +* Time support, currently only UTC. +* Added hidMouseRead(). +* Added settings-services support. +* Added gfxSetDrawFlip() and gfxConfigureTransform(). +* Proper (libnx-side) RomFS support. Initial fsStorage support / other fs(dev) changes. +* The console font is now 16x16. +* Fixed args parsing with quotes. +* Various audio adjustments + added audoutWaitPlayFinish(). +* More irs (irsensor) support. +* Added usleep(). +* General system stability improvements to enhance the user's experience. diff --git a/nx/include/switch/runtime/nxlink.h b/nx/include/switch/runtime/nxlink.h index 0f178811..4c5da29f 100644 --- a/nx/include/switch/runtime/nxlink.h +++ b/nx/include/switch/runtime/nxlink.h @@ -1,8 +1,8 @@ -#pragma once - -struct in_addr; - -extern struct in_addr __nxlink_host; - -#define NXLINK_SERVER_PORT 28280 -#define NXLINK_CLIENT_PORT 28771 +#pragma once + +struct in_addr; + +extern struct in_addr __nxlink_host; + +#define NXLINK_SERVER_PORT 28280 +#define NXLINK_CLIENT_PORT 28771 diff --git a/nx/source/runtime/nxlink.c b/nx/source/runtime/nxlink.c index 9e42090c..cb1e68ec 100644 --- a/nx/source/runtime/nxlink.c +++ b/nx/source/runtime/nxlink.c @@ -1,23 +1,23 @@ -#include -#include -#include - - -// System globals we define here -extern int __system_argc; -extern char** __system_argv; - -struct in_addr __nxlink_host; - - -void nxlinkSetup(void) -{ - if ( __system_argc > 1 && - strlen(__system_argv[__system_argc - 1]) == 16 && - strncmp(&__system_argv[__system_argc - 1][8], "_NXLINK_", 8) == 0 ) - { - __system_argc--; - __nxlink_host.s_addr = strtoul(__system_argv[__system_argc], NULL, 16); - } - __system_argv[__system_argc] = NULL; -} +#include +#include +#include + + +// System globals we define here +extern int __system_argc; +extern char** __system_argv; + +struct in_addr __nxlink_host; + + +void nxlinkSetup(void) +{ + if ( __system_argc > 1 && + strlen(__system_argv[__system_argc - 1]) == 16 && + strncmp(&__system_argv[__system_argc - 1][8], "_NXLINK_", 8) == 0 ) + { + __system_argc--; + __nxlink_host.s_addr = strtoul(__system_argv[__system_argc], NULL, 16); + } + __system_argv[__system_argc] = NULL; +}