| 1057 | } |
| 1058 | |
| 1059 | void Xbox360Peripheral::SerialDisconnect(void) |
| 1060 | { |
| 1061 | if (serialHandler != NULL) |
| 1062 | { |
| 1063 | // Hope it's okay to terminate twice... |
| 1064 | serialHandler->terminate(kIOServiceRequired | kIOServiceSynchronous); |
| 1065 | serialHandler->release(); |
| 1066 | serialHandler = NULL; |
| 1067 | } |
| 1068 | } |
| 1069 | |
| 1070 | void Xbox360Peripheral::SerialMessage(IOBufferMemoryDescriptor *data, size_t length) |
| 1071 | { |
nothing calls this directly
no outgoing calls
no test coverage detected