pm: remove duplicate definitions

This commit is contained in:
Michael Scire 2019-02-27 03:33:42 -08:00
parent 66d5c9fe26
commit b57ec74ca3

View File

@ -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) {