Compare commits
No commits in common. "e143fdb1a43a6aaeeb8f0343972fb0ba65f95cf8" and "3e6d29d918a51cf36efac1512e08b96787031d90" have entirely different histories.
e143fdb1a4
...
3e6d29d918
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +0,0 @@
|
||||
[submodule "source/sandia"]
|
||||
path = source/sandia
|
||||
url = https://git.donut.eu.org/nez/sandia-Wii.git
|
2
Makefile
2
Makefile
@ -17,7 +17,7 @@ include $(DEVKITPPC)/wii_rules
|
||||
#---------------------------------------------------------------------------------
|
||||
TARGET := $(notdir $(CURDIR))
|
||||
BUILD := build
|
||||
SOURCES := source source/sandia
|
||||
SOURCES := source
|
||||
DATA := data
|
||||
INCLUDES :=
|
||||
|
||||
|
@ -4,8 +4,6 @@
|
||||
#include <network.h>
|
||||
#include <wiiuse/wpad.h>
|
||||
|
||||
#include "sandia/sandia.h"
|
||||
|
||||
static void *xfb = NULL;
|
||||
static GXRModeObj *rmode = NULL;
|
||||
|
||||
@ -76,12 +74,7 @@ int main(int argc, char **argv) {
|
||||
logprint(1, "Initialized successfully!\n");
|
||||
logprint(0, "Your Wii's IP address is ");
|
||||
printf("%s.\n", localip);
|
||||
|
||||
sandia req = sandia_create("libreshop.donut.eu.org", 80);
|
||||
sandia_response res = sandia_get_request(&req, "/");
|
||||
printf("\n%s\n", res.body);
|
||||
sandia_close(&res);
|
||||
} else {
|
||||
} else {
|
||||
logprint(0, "Network configuration failed :(\n");
|
||||
}
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
Subproject commit 9b383cdda825ab4ba2767102b06cbd5dc734dae9
|
Loading…
Reference in New Issue
Block a user