mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +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
|
||||
|
||||
## 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.
|
||||
|
@ -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
|
||||
|
@ -1,23 +1,23 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
|
||||
// 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 <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user