diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-07-13 20:38:04 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-07-13 20:38:04 -0400 |
commit | 2190722ac1f0732cf35e7b63572afa698a47789d (patch) | |
tree | 004d2302ece1d9f8feb4d3d435d0393739ebd1bd /source/link.h | |
parent | 252e2911383a5267673f00c08419e2afeac35a31 (diff) | |
download | gen3uploader-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.h | 14 |
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 | ||
12 | u32 waitForButtons(u32 mask); | 12 | void initLink(); |
13 | |||
14 | u32 recv(); | ||
15 | void send(u32 msg); | ||
16 | |||
17 | u32 getMsg(); | ||
18 | void getMsgArr(u32* arr, int len); | ||
19 | void sendMsg(u32 msg); | ||
20 | |||
21 | void waitForGBA(); | ||
22 | void waitForBIOS(); | ||
23 | void waitForGame(); | ||
24 | void waitForAck(); | ||
13 | 25 | ||
14 | #endif | 26 | #endif |