25 lines
764 B
C++
25 lines
764 B
C++
#pragma once
|
|
#include <memory>
|
|
|
|
#include <switch.h>
|
|
|
|
#include <nxst/domain/account.hpp>
|
|
#include <nxst/domain/title.hpp>
|
|
#include <nxst/domain/util.hpp>
|
|
#include <nxst/infra/sys/logger.hpp>
|
|
#include <nxst/ui/const.h>
|
|
|
|
typedef enum { SORT_ALPHA, SORT_LAST_PLAYED, SORT_PLAY_TIME, SORT_MODES_COUNT } sort_t;
|
|
|
|
inline float g_currentTime = 0;
|
|
inline bool g_backupScrollEnabled = 0;
|
|
inline bool g_notificationLedAvailable = false;
|
|
inline bool g_shouldExitNetworkLoop = false;
|
|
inline std::string g_selectedCheatKey;
|
|
inline std::vector<std::string> g_selectedCheatCodes;
|
|
inline u32 g_username_dotsize;
|
|
inline sort_t g_sortMode = SORT_ALPHA;
|
|
inline std::string g_currentFile = "";
|
|
inline bool g_isTransferringFile = false;
|
|
inline const std::string g_emptySave = "New...";
|