mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-18 17:11:23 +00:00
pm: remove duplicate definitions
This commit is contained in:
parent
66d5c9fe26
commit
b57ec74ca3
@ -27,20 +27,6 @@
|
|||||||
#include "pm_registration.hpp"
|
#include "pm_registration.hpp"
|
||||||
#include "pm_boot_mode.hpp"
|
#include "pm_boot_mode.hpp"
|
||||||
|
|
||||||
static std::vector<Boot2KnownTitleId> g_boot2_titles;
|
|
||||||
|
|
||||||
static void ClearLaunchedTitles() {
|
|
||||||
g_boot2_titles.clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
static void SetLaunchedTitle(Boot2KnownTitleId title_id) {
|
|
||||||
g_boot2_titles.push_back(title_id);
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool HasLaunchedTitle(Boot2KnownTitleId title_id) {
|
|
||||||
return std::find(g_boot2_titles.begin(), g_boot2_titles.end(), title_id) != g_boot2_titles.end();
|
|
||||||
}
|
|
||||||
|
|
||||||
static std::vector<Boot2KnownTitleId> g_launched_titles;
|
static std::vector<Boot2KnownTitleId> g_launched_titles;
|
||||||
|
|
||||||
static bool IsHexadecimal(const char *str) {
|
static bool IsHexadecimal(const char *str) {
|
||||||
|
Loading…
Reference in New Issue
Block a user