mirror of
https://github.com/encounter/oot-vc.git
synced 2026-03-30 11:33:51 -07:00
6dd6da43b8
* add emulator headers * review * order fix * revert macros.inc * review 2
32 lines
487 B
C
32 lines
487 B
C
#ifndef DEBUGGER_H
|
|
#define DEBUGGER_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "revolution/types.h"
|
|
|
|
// EXI error codes
|
|
typedef enum {
|
|
AMC_EXI_NO_ERROR = 0,
|
|
AMC_EXI_UNSELECTED = 1
|
|
} AmcExiError;
|
|
|
|
void EXI2_Init(void);
|
|
void EXI2_EnableInterrupts(void);
|
|
bool EXI2_Poll(void);
|
|
AmcExiError EXI2_ReadN(void);
|
|
AmcExiError EXI2_WriteN(void);
|
|
void EXI2_Reserve(void);
|
|
void EXI2_Unreserve(void);
|
|
bool AMC_IsStub(void);
|
|
|
|
bool Hu_IsStub(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|