From 671dbaea923e926dc21387d4b382917cee98efb0 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sun, 18 Mar 2012 10:17:31 +0100 Subject: [PATCH] hide NANDEmu-Boot from list of installed apps --- installer/wad/0001000154484246.tmd | Bin 592 -> 592 bytes source/Tools/app_list.cpp | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/installer/wad/0001000154484246.tmd b/installer/wad/0001000154484246.tmd index b9680dbce5c00e575ccf6091e20ea0a709a85ade..8cb24b914cd6836fbc30173e1f5393d8bd4d71f7 100644 GIT binary patch delta 28 kcmcb>a)D)o4U@<|ia)D)o4U>pQ*p=OSe2=!>Sdy4*=wTUO;PciN0H%Hm!vFvP diff --git a/source/Tools/app_list.cpp b/source/Tools/app_list.cpp index 0662d77..4a6ba57 100644 --- a/source/Tools/app_list.cpp +++ b/source/Tools/app_list.cpp @@ -114,7 +114,8 @@ void add(string device, string apps_path) if(fopen(pathnameelf, "rb") != NULL) pathboot = pathnameelf; if(fopen(pathname, "rb") != NULL) pathboot = pathname; - if((fopen(pathname, "rb") || fopen(pathnameelf, "rb")) && strstr(pathname, (apps_path + "./").c_str()) == 0 && strstr(pathname, (apps_path + "../").c_str()) == 0 ) + if((fopen(pathname, "rb") || fopen(pathnameelf, "rb")) && strstr(pathname, (apps_path + "./").c_str()) == 0 + && strstr(pathname, (apps_path + "../").c_str()) == 0 && strcmp(pent->d_name, "NANDEmu-Boot") != 0) { sprintf(pathmeta, (device + ":/" + apps_path + "%s/meta.xml").c_str() ,pent->d_name);