about summary refs log tree commit diff stats
path: root/source/link.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-07-13 20:38:04 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-07-13 20:38:04 -0400
commit2190722ac1f0732cf35e7b63572afa698a47789d (patch)
tree004d2302ece1d9f8feb4d3d435d0393739ebd1bd /source/link.h
parent252e2911383a5267673f00c08419e2afeac35a31 (diff)
downloadgen3uploader-2190722ac1f0732cf35e7b63572afa698a47789d.tar.gz
gen3uploader-2190722ac1f0732cf35e7b63572afa698a47789d.tar.bz2
gen3uploader-2190722ac1f0732cf35e7b63572afa698a47789d.zip
Organized code more
Now the link-specific stuff is abstracted into its own file, and the
code for negotiating the "different" multiboot protocol is in its own
file. Also, removed support for compiling for GC because eventually we
will be using Wii-only features. Also put the main extractor code into a
thread so that we can monitor for the user pressing the start button to
exit.
Diffstat (limited to 'source/link.h')
-rw-r--r--source/link.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/source/link.h b/source/link.h index 24a60b5..15eff62 100644 --- a/source/link.h +++ b/source/link.h
@@ -9,6 +9,18 @@
9 9
10#include <gccore.h> 10#include <gccore.h>
11 11
12u32 waitForButtons(u32 mask); 12void initLink();
13
14u32 recv();
15void send(u32 msg);
16
17u32 getMsg();
18void getMsgArr(u32* arr, int len);
19void sendMsg(u32 msg);
20
21void waitForGBA();
22void waitForBIOS();
23void waitForGame();
24void waitForAck();
13 25
14#endif 26#endif