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