mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-12-23 03:11:49 +01:00
Minor future-proofing
This commit is contained in:
parent
900df7882d
commit
75d507425a
@ -28,6 +28,7 @@
|
|||||||
#include "imgui.h"
|
#include "imgui.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <cstdint>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -77,6 +77,7 @@ bool s_backlight = true;
|
|||||||
aptHookCookie s_aptHookCookie;
|
aptHookCookie s_aptHookCookie;
|
||||||
|
|
||||||
#ifdef CLASSIC
|
#ifdef CLASSIC
|
||||||
|
/// \brief Host address
|
||||||
in_addr_t s_addr = 0;
|
in_addr_t s_addr = 0;
|
||||||
#else
|
#else
|
||||||
/// \brief Clear color
|
/// \brief Clear color
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
#include <cinttypes>
|
#include <cinttypes>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
#if defined(NDS) || defined(_3DS) || defined(__SWITCH__)
|
#if defined(NDS) || defined(_3DS) || defined(__SWITCH__)
|
||||||
#define getline __getline
|
#define getline __getline
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
//#include <algorithm>
|
#include <limits>
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
@ -39,6 +39,7 @@ PrintConsole g_sessionConsole;
|
|||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
/// \brief Host address
|
||||||
struct in_addr s_addr = {0};
|
struct in_addr s_addr = {0};
|
||||||
/// \brief Whether to power backlight
|
/// \brief Whether to power backlight
|
||||||
bool s_backlight = true;
|
bool s_backlight = true;
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
#ifndef CLASSIC
|
#ifndef CLASSIC
|
||||||
#include <deko3d.hpp>
|
#include <deko3d.hpp>
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
namespace imgui
|
namespace imgui
|
||||||
{
|
{
|
||||||
namespace deko3d
|
namespace deko3d
|
||||||
|
@ -55,7 +55,7 @@ void userAppInit ()
|
|||||||
appletLockExit ();
|
appletLockExit ();
|
||||||
|
|
||||||
romfsInit ();
|
romfsInit ();
|
||||||
plInitialize ();
|
plInitialize (PlServiceType_User);
|
||||||
psmInitialize ();
|
psmInitialize ();
|
||||||
nifmInitialize (NifmServiceType_User);
|
nifmInitialize (NifmServiceType_User);
|
||||||
socketInitialize (&s_socketInitConfig);
|
socketInitialize (&s_socketInitConfig);
|
||||||
|
@ -57,6 +57,7 @@ bool s_backlight = true;
|
|||||||
AppletHookCookie s_appletHookCookie;
|
AppletHookCookie s_appletHookCookie;
|
||||||
|
|
||||||
#ifdef CLASSIC
|
#ifdef CLASSIC
|
||||||
|
/// \brief Host address
|
||||||
in_addr_t s_addr = 0;
|
in_addr_t s_addr = 0;
|
||||||
#else
|
#else
|
||||||
/// \brief Texture index
|
/// \brief Texture index
|
||||||
@ -527,8 +528,6 @@ void drawStatus ()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
bool platform::init ()
|
bool platform::init ()
|
||||||
{
|
{
|
||||||
#ifdef CLASSIC
|
#ifdef CLASSIC
|
||||||
|
Loading…
Reference in New Issue
Block a user