mirror of
https://github.com/wiiu-env/MochaPayload.git
synced 2024-11-04 15:25:07 +01:00
Remove udp logging
This commit is contained in:
parent
fb12520149
commit
42e4a99552
@ -8,8 +8,6 @@
|
|||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <mocha/commands.h>
|
#include <mocha/commands.h>
|
||||||
#include <sysapp/title.h>
|
#include <sysapp/title.h>
|
||||||
#include <whb/log.h>
|
|
||||||
#include <whb/log_udp.h>
|
|
||||||
|
|
||||||
static void StartMCPThreadIfMochaAlreadyRunning() {
|
static void StartMCPThreadIfMochaAlreadyRunning() {
|
||||||
// start /dev/iosuhax and wupserver if mocha is already running
|
// start /dev/iosuhax and wupserver if mocha is already running
|
||||||
@ -26,9 +24,6 @@ static void StartMCPThreadIfMochaAlreadyRunning() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
WHBLogUdpInit();
|
|
||||||
WHBLogPrintf("Hello from mocha");
|
|
||||||
|
|
||||||
if (argc >= 1) {
|
if (argc >= 1) {
|
||||||
if (strncmp(argv[0], "fs:/", 4) == 0) {
|
if (strncmp(argv[0], "fs:/", 4) == 0) {
|
||||||
strncpy((char *) 0xF417FEF0, argv[0], 0xFF);
|
strncpy((char *) 0xF417FEF0, argv[0], 0xFF);
|
||||||
@ -55,7 +50,5 @@ int main(int argc, char **argv) {
|
|||||||
IOS_Ioctl(mcpFd, 100, &in, sizeof(in), &out, sizeof(out));
|
IOS_Ioctl(mcpFd, 100, &in, sizeof(in), &out, sizeof(out));
|
||||||
IOS_Close(mcpFd);
|
IOS_Close(mcpFd);
|
||||||
}
|
}
|
||||||
|
|
||||||
WHBLogPrintf("Bye from mocha");
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user