From a48650d7bf10da2073b74f7360c2563d28aa0593 Mon Sep 17 00:00:00 2001 From: Maschell Date: Wed, 17 Jun 2020 22:13:02 +0200 Subject: [PATCH] Fix id checking --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 298d0f6..f63b7c6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -210,7 +210,7 @@ int32_t getRPXInfoForID(uint32_t id, romfs_fileInfo *info); DECL_FUNCTION(int32_t, ACPCheckTitleLaunchByTitleListTypeEx, MCPTitleListType *title, uint32_t u2) { if ((title->titleId & TITLE_ID_HOMEBREW_MASK) == TITLE_ID_HOMEBREW_MASK) { int32_t id = getIDByLowerTitleID(title->titleId & 0xFFFFFFFF); - if (id > 0) { + if (id >= 0) { DEBUG_FUNCTION_LINE("Started homebrew\n"); gHomebrewLaunched = TRUE; fillXmlForTitleID((title->titleId & 0xFFFFFFFF00000000) >> 32, (title->titleId & 0xFFFFFFFF), &gLaunchXML);