summaryrefslogtreecommitdiff
path: root/src/amcstubs/AmcExi2Stubs.c
blob: 9091fda4753cfd0b6878ded03a07b9ffca5d08da (plain)
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
27
28
#include "dolphin/amcstubs/AmcExi2Stubs.h"

// prototypes
int AMC_IsStub(void);

void EXI2_Init(volatile unsigned char **inputPendingPtrRef, AmcEXICallback monitorCallback) {}

void EXI2_EnableInterrupts(void) {}

int EXI2_Poll(void) {
    return 0;
}

AmcExiError EXI2_ReadN(void *bytes, unsigned long length) {
    return AMC_EXI_NO_ERROR;
}

AmcExiError EXI2_WriteN(const void *bytes, unsigned long length) { 
    return AMC_EXI_NO_ERROR;
}

void EXI2_Reserve(void) {}

void EXI2_Unreserve(void) {}

int AMC_IsStub(void) {
    return 1;
}