diff options
author | Ben Bridle <ben@derelict.engineering> | 2024-11-22 16:04:33 +1300 |
---|---|---|
committer | Ben Bridle <ben@derelict.engineering> | 2024-11-22 16:07:48 +1300 |
commit | fcbc3968bd95e4d19b37d9fa4bca51b1db8596ff (patch) | |
tree | 333c6cf63f4b2aea513a9691b29c8f397e139c46 /arm9/source/types/readbuf.h | |
parent | e05888d141bc64e92d81859af0d87627e6fbc477 (diff) | |
download | bedrock-nds-fcbc3968bd95e4d19b37d9fa4bca51b1db8596ff.zip |
Implement name and author ports in system device
Diffstat (limited to 'arm9/source/types/readbuf.h')
-rw-r--r-- | arm9/source/types/readbuf.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arm9/source/types/readbuf.h b/arm9/source/types/readbuf.h new file mode 100644 index 0000000..9077a69 --- /dev/null +++ b/arm9/source/types/readbuf.h @@ -0,0 +1,14 @@ +#include <nds.h> + +#ifndef READBUF_H_ + #define READBUF_H_ + + typedef struct { + u8 *mem; + u8 p; + } ReadBuf; + + u8 rb_read(ReadBuf *buf); + void rb_reset(ReadBuf *buf); + +#endif |