Use latest wut version

This commit is contained in:
Maschell 2022-07-25 15:20:17 +02:00
parent 91b20af377
commit 4f20c634c9
3 changed files with 6 additions and 6 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@ build/
cmake-build-debug/ cmake-build-debug/
.idea/ .idea/
CMakeLists.txt CMakeLists.txt
cmake-build-debug-mocha-builder/

View File

@ -1,3 +1,3 @@
FROM wiiuenv/devkitppc:20220605 FROM wiiuenv/devkitppc:20220724
WORKDIR project WORKDIR project

View File

@ -1,15 +1,14 @@
#include "common/ipc_defs.h"
#include "ios_exploit.h"
#include <coreinit/cache.h> #include <coreinit/cache.h>
#include <coreinit/debug.h>
#include <coreinit/ios.h> #include <coreinit/ios.h>
#include <cstdio> #include <cstdio>
#include <cstring> #include <cstring>
#include <sysapp/title.h> #include <sysapp/title.h>
#include <whb/log.h> #include <whb/log.h>
#include <whb/log_udp.h> #include <whb/log_udp.h>
#include "common/ipc_defs.h"
#include "ios_exploit.h"
int main(int argc, char **argv) { int main(int argc, char **argv) {
WHBLogUdpInit(); WHBLogUdpInit();
WHBLogPrintf("Hello from mocha"); WHBLogPrintf("Hello from mocha");
@ -21,7 +20,7 @@ int main(int argc, char **argv) {
} }
} }
uint64_t sysmenuIdUll = _SYSGetSystemApplicationTitleId(SYSTEM_APP_ID_HOME_MENU); uint64_t sysmenuIdUll = _SYSGetSystemApplicationTitleId(SYSTEM_APP_ID_WII_U_MENU);
memcpy((void *) 0xF417FFF0, &sysmenuIdUll, 8); memcpy((void *) 0xF417FFF0, &sysmenuIdUll, 8);
DCStoreRange((void *) 0xF417FFF0, 0x8); DCStoreRange((void *) 0xF417FFF0, 0x8);