MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / writeEXIcmdLong

Function writeEXIcmdLong

src/dolphin/src/eth/eth.c:176–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176static void writeEXIcmdLong(u8 cmd, void* address, s32 length) {
177 BOOL ret;
178 u16 ethcmd;
179
180 ethcmd = 0x4000 | (cmd << 8);
181 ret = EXISelect(0, 2, 5);
182 EXIImm(0, &ethcmd, sizeof(ethcmd), EXI_WRITE, NULL);
183 EXISync(0);
184 EXIImmEx(0, address, length, EXI_WRITE);
185 EXIDeselect(0);
186}
187
188static void readcmdLong(u16 cmd, void* addr, s32 length) {
189 u32 ethcmd;

Callers 2

patchthruFunction · 0.85
ETHInitFunction · 0.85

Calls 5

EXISelectFunction · 0.85
EXIImmFunction · 0.85
EXISyncFunction · 0.85
EXIImmExFunction · 0.85
EXIDeselectFunction · 0.85

Tested by

no test coverage detected