From fa68ae882b4926737ff82d886eedc924df3ee8e8 Mon Sep 17 00:00:00 2001 From: "gitlab.com/n4ru" Date: Fri, 11 Mar 2016 04:51:04 -0500 Subject: [PATCH 1/5] Use GPU for memchunkhax2 all the time --- source/Utility.cpp | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/source/Utility.cpp b/source/Utility.cpp index 08ea7ef..bf7d1ce 100644 --- a/source/Utility.cpp +++ b/source/Utility.cpp @@ -229,19 +229,10 @@ int Utility::getAMu() { } // try to get arm11 - if(osGetKernelVersion() > SYSTEM_VERSION(2,50,9)) { - svchax_init(); - aptInit(); - APT_CheckNew3DS(&isNew3DS); - patchServiceAccess(); - } else { - gfxExit(); - if (suInit() != 0) { - _gfxInit(); - return 1; - } - _gfxInit(); - } + svchax_init(); + aptInit(); + APT_CheckNew3DS(&isNew3DS); + patchServiceAccess(); srvGetServiceHandleDirect(&amHandle, "am:u"); if (amHandle) { From 7c792d976601bb663d77c228e5a355198723aa3b Mon Sep 17 00:00:00 2001 From: mariogamer2 Date: Sun, 27 Mar 2016 16:56:34 -0400 Subject: [PATCH 2/5] Update svchax and deleted libsu --- .gitmodules | 3 --- source/SuperUserLib3DS | 1 - source/Utility.cpp | 1 - source/svchax | 2 +- 4 files changed, 1 insertion(+), 6 deletions(-) delete mode 160000 source/SuperUserLib3DS diff --git a/.gitmodules b/.gitmodules index 03e1094..4c62f6f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,3 @@ -[submodule "source/SuperUserLib3DS"] - path = source/SuperUserLib3DS - url = https://github.com/delebile/SuperUserLib3DS [submodule "source/svchax"] path = source/svchax url = https://github.com/aliaspider/svchax.git diff --git a/source/SuperUserLib3DS b/source/SuperUserLib3DS deleted file mode 160000 index 80ccc2e..0000000 --- a/source/SuperUserLib3DS +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 80ccc2e132448842db30c2c66928787a2f7fbf53 diff --git a/source/Utility.cpp b/source/Utility.cpp index 08ea7ef..750809f 100644 --- a/source/Utility.cpp +++ b/source/Utility.cpp @@ -5,7 +5,6 @@ #include #include #include "Utility.h" -#include "SuperUserLib3DS/libsu.h" #include "libmd5-rfc/md5.h" #define BUFSIZE 131072 diff --git a/source/svchax b/source/svchax index 40d050e..de676ed 160000 --- a/source/svchax +++ b/source/svchax @@ -1 +1 @@ -Subproject commit 40d050ee92cd933d603a23558382f79780faec72 +Subproject commit de676ed54d81be5dab7d1040cd4b7f6b801a461c From fd472300c34a690e9ddeb84367612b23571b5684 Mon Sep 17 00:00:00 2001 From: mariogamer2 Date: Sun, 27 Mar 2016 16:59:35 -0400 Subject: [PATCH 3/5] Updated cmakelist --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c2949e..75aed6e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,6 @@ file(GLOB_RECURSE SOURCE_FILES source/* ) file(GLOB FILTER_FILES - source/SuperUserLib3DS/demo/source/* source/svchax/test.c ) list(REMOVE_ITEM SOURCE_FILES From ed96225758cdd4b6b7e95613fefdb51f1766cb72 Mon Sep 17 00:00:00 2001 From: mariogamer2 Date: Sat, 16 Apr 2016 14:35:06 -0400 Subject: [PATCH 4/5] Reupdate svchax --- source/svchax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/svchax b/source/svchax index de676ed..e1ddbff 160000 --- a/source/svchax +++ b/source/svchax @@ -1 +1 @@ -Subproject commit de676ed54d81be5dab7d1040cd4b7f6b801a461c +Subproject commit e1ddbff8699131831c001dd977968261edc842a1 From 528a6f1d46320979119eca02dd11664fec3f83e8 Mon Sep 17 00:00:00 2001 From: mariogamer2 Date: Tue, 19 Apr 2016 13:47:49 -0400 Subject: [PATCH 5/5] Update CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 75aed6e..40ee76c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,7 @@ file(GLOB_RECURSE SOURCE_FILES source/* ) file(GLOB FILTER_FILES - source/svchax/test.c + source/svchax/svchax.c ) list(REMOVE_ITEM SOURCE_FILES ${FILTER_FILES}