mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-11-04 20:15:09 +01:00
Make changes to work with latest libnx
(cherry picked from commit 1bebc6580455b0c60ceb6e5589c5dfbcc59e3a98)
This commit is contained in:
parent
2cb78030be
commit
1f78277254
@ -2020,7 +2020,7 @@ ftp_init(void)
|
||||
|
||||
/* get address to listen on */
|
||||
serv_addr.sin_family = AF_INET;
|
||||
#if defined(_3DS) || defined(SWITCH)
|
||||
#if defined(_3DS) || defined(__SWITCH__)
|
||||
serv_addr.sin_addr.s_addr = gethostid();
|
||||
serv_addr.sin_port = htons(LISTEN_PORT);
|
||||
#else
|
||||
|
@ -105,8 +105,8 @@ main(int argc,
|
||||
gfxInitDefault();
|
||||
gfxSet3D(false);
|
||||
sdmcWriteSafe(false);
|
||||
#elif defined(SWITCH)
|
||||
/* initialize needed Switch services */
|
||||
#elif defined(__SWITCH__)
|
||||
//gfxInitResolution(644, 480);
|
||||
nifmInitialize();
|
||||
gfxInitDefault();
|
||||
|
Loading…
Reference in New Issue
Block a user