mirror of
https://github.com/wiiu-env/homebrew_on_menu_plugin.git
synced 2024-11-22 10:39:16 +01:00
Only parse the .ignore file when launching Wii U Menu
This commit is contained in:
parent
14ad8e0582
commit
6b6a97c340
@ -273,6 +273,10 @@ ON_APPLICATION_START() {
|
|||||||
initLogging();
|
initLogging();
|
||||||
sSDIsMounted = false;
|
sSDIsMounted = false;
|
||||||
|
|
||||||
|
if (OSGetTitleID() == 0x0005001010040000L || // Wii U Menu JPN
|
||||||
|
OSGetTitleID() == 0x0005001010040100L || // Wii U Menu USA
|
||||||
|
OSGetTitleID() == 0x0005001010040200L) { // Wii U Menu EUR
|
||||||
|
|
||||||
CFile file(IGNORE_FILE_PATH, CFile::ReadOnly);
|
CFile file(IGNORE_FILE_PATH, CFile::ReadOnly);
|
||||||
if (file.isOpen()) {
|
if (file.isOpen()) {
|
||||||
std::string strBuffer;
|
std::string strBuffer;
|
||||||
@ -299,9 +303,6 @@ ON_APPLICATION_START() {
|
|||||||
DEBUG_FUNCTION_LINE_ERR("No ignore found");
|
DEBUG_FUNCTION_LINE_ERR("No ignore found");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (OSGetTitleID() == 0x0005001010040000L || // Wii U Menu JPN
|
|
||||||
OSGetTitleID() == 0x0005001010040100L || // Wii U Menu USA
|
|
||||||
OSGetTitleID() == 0x0005001010040200L) { // Wii U Menu EUR
|
|
||||||
gInWiiUMenu = true;
|
gInWiiUMenu = true;
|
||||||
|
|
||||||
struct stat st {};
|
struct stat st {};
|
||||||
|
Loading…
Reference in New Issue
Block a user