mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
translate crlf eol markers to lf for consistency
This commit is contained in:
parent
fdf0949562
commit
71036319a7
34
Changelog.md
34
Changelog.md
@ -1,17 +1,17 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## Version 1.1.0
|
## Version 1.1.0
|
||||||
|
|
||||||
* Fixed a race condition in HID causing sporadic incorrect key-releases when using hidKeysHeld().
|
* Fixed a race condition in HID causing sporadic incorrect key-releases when using hidKeysHeld().
|
||||||
* Unix socket API is now supported.
|
* Unix socket API is now supported.
|
||||||
* Time support, currently only UTC.
|
* Time support, currently only UTC.
|
||||||
* Added hidMouseRead().
|
* Added hidMouseRead().
|
||||||
* Added settings-services support.
|
* Added settings-services support.
|
||||||
* Added gfxSetDrawFlip() and gfxConfigureTransform().
|
* Added gfxSetDrawFlip() and gfxConfigureTransform().
|
||||||
* Proper (libnx-side) RomFS support. Initial fsStorage support / other fs(dev) changes.
|
* Proper (libnx-side) RomFS support. Initial fsStorage support / other fs(dev) changes.
|
||||||
* The console font is now 16x16.
|
* The console font is now 16x16.
|
||||||
* Fixed args parsing with quotes.
|
* Fixed args parsing with quotes.
|
||||||
* Various audio adjustments + added audoutWaitPlayFinish().
|
* Various audio adjustments + added audoutWaitPlayFinish().
|
||||||
* More irs (irsensor) support.
|
* More irs (irsensor) support.
|
||||||
* Added usleep().
|
* Added usleep().
|
||||||
* General system stability improvements to enhance the user's experience.
|
* General system stability improvements to enhance the user's experience.
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
struct in_addr;
|
struct in_addr;
|
||||||
|
|
||||||
extern struct in_addr __nxlink_host;
|
extern struct in_addr __nxlink_host;
|
||||||
|
|
||||||
#define NXLINK_SERVER_PORT 28280
|
#define NXLINK_SERVER_PORT 28280
|
||||||
#define NXLINK_CLIENT_PORT 28771
|
#define NXLINK_CLIENT_PORT 28771
|
||||||
|
@ -1,23 +1,23 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
|
||||||
|
|
||||||
// System globals we define here
|
// System globals we define here
|
||||||
extern int __system_argc;
|
extern int __system_argc;
|
||||||
extern char** __system_argv;
|
extern char** __system_argv;
|
||||||
|
|
||||||
struct in_addr __nxlink_host;
|
struct in_addr __nxlink_host;
|
||||||
|
|
||||||
|
|
||||||
void nxlinkSetup(void)
|
void nxlinkSetup(void)
|
||||||
{
|
{
|
||||||
if ( __system_argc > 1 &&
|
if ( __system_argc > 1 &&
|
||||||
strlen(__system_argv[__system_argc - 1]) == 16 &&
|
strlen(__system_argv[__system_argc - 1]) == 16 &&
|
||||||
strncmp(&__system_argv[__system_argc - 1][8], "_NXLINK_", 8) == 0 )
|
strncmp(&__system_argv[__system_argc - 1][8], "_NXLINK_", 8) == 0 )
|
||||||
{
|
{
|
||||||
__system_argc--;
|
__system_argc--;
|
||||||
__nxlink_host.s_addr = strtoul(__system_argv[__system_argc], NULL, 16);
|
__nxlink_host.s_addr = strtoul(__system_argv[__system_argc], NULL, 16);
|
||||||
}
|
}
|
||||||
__system_argv[__system_argc] = NULL;
|
__system_argv[__system_argc] = NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user