diff --git a/CMakeLists.txt b/CMakeLists.txt index 14652d3..7a35445 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,7 +34,6 @@ target_link_libraries(DolcePolce SceLibKernel_stub SceAppMgr_stub SceLibc_stub - SceVshBridge_stub SceIofilemgr_stub ) diff --git a/DolcePolce.c b/DolcePolce.c index 81cc218..6bffe7e 100644 --- a/DolcePolce.c +++ b/DolcePolce.c @@ -18,7 +18,7 @@ static int check_psm_allowed(char **game, int *is_allowed, int *unk) { int ret = TAI_CONTINUE(int, check_psm_allowed_hook_ref,game, is_allowed, unk); sceClibPrintf("[DolcePolce] check_psm_allowed(%s,%x,%x); ret = %x!\n",*game, *is_allowed, *unk, ret); - if(*is_allowed <= 0) + if(*is_allowed != 1) { sceClibPrintf("[DolcePolce] check_psm_allowed: %s is blacklisted... launching anyway!\n",*game); *is_allowed = 1; @@ -31,7 +31,7 @@ static int check_vita_allowed(char **game, int *is_allowed, int *unk) { int ret = TAI_CONTINUE(int, check_vita_allowed_hook_ref, game, is_allowed, unk); sceClibPrintf("[DolcePolce] check_vita_allowed(%s,%x,%x); ret = %x!\n",*game, *is_allowed, *unk, ret); - if(*is_allowed <= 0) + if(*is_allowed != 1) { sceClibPrintf("[DolcePolce] check_vita_allowed: %s is blacklisted... launching anyway!\n",*game); *is_allowed = 1; @@ -44,10 +44,10 @@ static int check_pspemu_allowed(char **game, int *is_allowed, int *unk) { int ret = TAI_CONTINUE(int, check_pspemu_allowed_hook_ref, game, is_allowed, unk); sceClibPrintf("[DolcePolce] check_pspemu_allowed(%s,%x,%x); ret = %x!\n",*game, *is_allowed, *unk, ret); - if(*is_allowed <= 0) + if(*is_allowed != 0x1000001) { sceClibPrintf("[DolcePolce] check_pspemu_allowed %s is blacklisted... launching anyway!\n",*game); - *is_allowed = 1; + *is_allowed = 0x1000001; } return ret;