about summary refs log tree commit diff stats
path: root/source/link.h
blob: 15eff62af46d3ed4f5fe3df344b982e1e06fc4b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright (C) 2017 hatkirby
 *
 * This software may be modified and distributed under the terms
 * of the MIT license.  See the LICENSE file for details.
 */
#ifndef _LINK_H_
#define _LINK_H_

#include <gccore.h>

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