From 2190722ac1f0732cf35e7b63572afa698a47789d Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 13 Jul 2017 20:38:04 -0400 Subject: 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. --- source/link.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'source/link.h') 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 @@ #include -u32 waitForButtons(u32 mask); +void initLink(); + +u32 recv(); +void send(u32 msg); + +u32 getMsg(); +void getMsgArr(u32* arr, int len); +void sendMsg(u32 msg); + +void waitForGBA(); +void waitForBIOS(); +void waitForGame(); +void waitForAck(); #endif -- cgit 1.4.1