Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -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
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ file(GLOB_RECURSE SOURCE_FILES
source/*
)
file(GLOB FILTER_FILES
source/SuperUserLib3DS/demo/source/*
source/svchax/test.c
source/svchax/svchax.c
)
list(REMOVE_ITEM SOURCE_FILES
${FILTER_FILES}
Expand Down
1 change: 0 additions & 1 deletion source/SuperUserLib3DS
Submodule SuperUserLib3DS deleted from 80ccc2
18 changes: 4 additions & 14 deletions source/Utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include <string.h>
#include <stdio.h>
#include "Utility.h"
#include "SuperUserLib3DS/libsu.h"
#include "libmd5-rfc/md5.h"

#define BUFSIZE 131072
Expand Down Expand Up @@ -229,19 +228,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) {
Expand Down