mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-30 00:16:21 -04:00
25 lines
671 B
C
25 lines
671 B
C
#ifndef TRK_CC_GDEV_H
|
|
#define TRK_CC_GDEV_H
|
|
|
|
#include "types.h"
|
|
#include <dolphin/os/OSInterrupt.h>
|
|
// #include "NdevExi2A/DebuggerDriver.h"
|
|
|
|
// TODO: figure out what these values represent
|
|
typedef enum { GDEV_RESULT_10009 = -10009, GDEV_RESULT_10005 = -10005, GDEV_RESULT_10001 = -10001 } UnkGdevEnum;
|
|
|
|
void OutputData();
|
|
BOOL IsInitialized();
|
|
int gdev_cc_initialize(u8** flagOut, __OSInterruptHandler handler);
|
|
int gdev_cc_shutdown();
|
|
int gdev_cc_open();
|
|
int gdev_cc_close();
|
|
int gdev_cc_read(u8* dest, int size);
|
|
int gdev_cc_write(const u8* src, int size);
|
|
int gdev_cc_pre_continue();
|
|
int gdev_cc_post_stop();
|
|
int gdev_cc_peek();
|
|
int gdev_cc_initinterrupts();
|
|
|
|
#endif
|