| 163 | } |
| 164 | |
| 165 | static void readEXIcmdLong(u8 cmd, void* address, s32 length) { |
| 166 | u16 ethcmd; |
| 167 | |
| 168 | ethcmd = cmd << 8; |
| 169 | EXISelect(0, 2, 5); |
| 170 | EXIImm(0, ðcmd, sizeof(ethcmd), EXI_WRITE, NULL); |
| 171 | EXISync(0); |
| 172 | EXIImmEx(0, address, length, EXI_READ); |
| 173 | EXIDeselect(0); |
| 174 | } |
| 175 | |
| 176 | static void writeEXIcmdLong(u8 cmd, void* address, s32 length) { |
| 177 | BOOL ret; |