This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _POSIX_TIMEOUTS 1 | |
#define _POSIX_THREADS 1 | |
#define _GLIBCXX_HAS_GTHREADS 1 | |
#define _GLIBCXX_GCC_GTHR_SINGLE_H 1 | |
#define _UNIX98_THREAD_MUTEX_ATTRIBUTES 1 | |
#include <errno.h> | |
#include <stdlib.h> | |
#include <pthread.h> | |
#include <wiiu_dbg.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#remove libretro-common and commit: | |
rm -rf libretro-common | |
git add libretro-common | |
git commit | |
#add subtree: | |
git subtree add --prefix libretro-common https://github.com/libretro/libretro-common master --squash | |
#to update later: | |
git subtree pull --prefix libretro-common https://github.com/libretro/libretro-common master --squash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <3ds.h> | |
#include "common.h" | |
static const char* level_to_string(Result res) { | |
switch(R_LEVEL(res)) { | |
case RL_SUCCESS: | |
return "Success"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdbool.h> | |
#include <stdio.h> | |
#include <malloc.h> | |
#include <string.h> | |
#include <sys/socket.h> | |
#include <arpa/inet.h> | |
#include <netinet/in.h> | |
#include <errno.h> | |
#include <fcntl.h> |