mirror of
https://github.com/wiiu-env/homebrew_on_menu_plugin.git
synced 2024-11-22 10:39:16 +01:00
Fix id checking
This commit is contained in:
parent
6fee414556
commit
a48650d7bf
@ -210,7 +210,7 @@ int32_t getRPXInfoForID(uint32_t id, romfs_fileInfo *info);
|
|||||||
DECL_FUNCTION(int32_t, ACPCheckTitleLaunchByTitleListTypeEx, MCPTitleListType *title, uint32_t u2) {
|
DECL_FUNCTION(int32_t, ACPCheckTitleLaunchByTitleListTypeEx, MCPTitleListType *title, uint32_t u2) {
|
||||||
if ((title->titleId & TITLE_ID_HOMEBREW_MASK) == TITLE_ID_HOMEBREW_MASK) {
|
if ((title->titleId & TITLE_ID_HOMEBREW_MASK) == TITLE_ID_HOMEBREW_MASK) {
|
||||||
int32_t id = getIDByLowerTitleID(title->titleId & 0xFFFFFFFF);
|
int32_t id = getIDByLowerTitleID(title->titleId & 0xFFFFFFFF);
|
||||||
if (id > 0) {
|
if (id >= 0) {
|
||||||
DEBUG_FUNCTION_LINE("Started homebrew\n");
|
DEBUG_FUNCTION_LINE("Started homebrew\n");
|
||||||
gHomebrewLaunched = TRUE;
|
gHomebrewLaunched = TRUE;
|
||||||
fillXmlForTitleID((title->titleId & 0xFFFFFFFF00000000) >> 32, (title->titleId & 0xFFFFFFFF), &gLaunchXML);
|
fillXmlForTitleID((title->titleId & 0xFFFFFFFF00000000) >> 32, (title->titleId & 0xFFFFFFFF), &gLaunchXML);
|
||||||
|
Loading…
Reference in New Issue
Block a user