diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-07-11 19:19:49 -0400 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-07-11 19:19:49 -0400 |
| commit | d4eb5af332ce518baa552c886caa0bf3b2864f75 (patch) | |
| tree | 469b3881a6fae4a203d97a4a00fec3b6b0f1d6ef /gba/source/link.h | |
| parent | ec66a022a8879a5300f2ae64cd86a5d8cfbd1a36 (diff) | |
| download | gen3uploader-d4eb5af332ce518baa552c886caa0bf3b2864f75.tar.gz gen3uploader-d4eb5af332ce518baa552c886caa0bf3b2864f75.tar.bz2 gen3uploader-d4eb5af332ce518baa552c886caa0bf3b2864f75.zip | |
Major reformatting, cleaning up black magic
Diffstat (limited to 'gba/source/link.h')
| -rw-r--r-- | gba/source/link.h | 9 |
1 files changed, 7 insertions, 2 deletions
| diff --git a/gba/source/link.h b/gba/source/link.h index f18b38a..08fd998 100644 --- a/gba/source/link.h +++ b/gba/source/link.h | |||
| @@ -1,12 +1,17 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2017 hatkirby | ||
| 3 | * | ||
| 4 | * This software may be modified and distributed under the terms | ||
| 5 | * of the MIT license. See the LICENSE file for details. | ||
| 6 | */ | ||
| 1 | #ifndef _LINK_H_ | 7 | #ifndef _LINK_H_ |
| 2 | #define _LINK_H_ | 8 | #define _LINK_H_ |
| 3 | 9 | ||
| 4 | #include <gba.h> | 10 | #include <gba.h> |
| 5 | 11 | ||
| 6 | void waitForWriteAccess(); | 12 | void initializeLink(); |
| 7 | void waitForAck(); | 13 | void waitForAck(); |
| 8 | void sendS32(s32 val); | 14 | void sendS32(s32 val); |
| 9 | void sendU32(u32 val); | 15 | void sendU32(u32 val); |
| 10 | u32 recieveU32(); | ||
| 11 | 16 | ||
| 12 | #endif | 17 | #endif |
