| 123 | } |
| 124 | |
| 125 | static void cbForStateReadingFST(u32 intType) |
| 126 | { |
| 127 | DVDCommandBlock* finished; |
| 128 | |
| 129 | if (intType == 16) |
| 130 | { |
| 131 | executing->state = -1; |
| 132 | stateTimeout(); |
| 133 | return; |
| 134 | } |
| 135 | |
| 136 | if (intType & 1) |
| 137 | { |
| 138 | NumInternalRetry = 0; |
| 139 | __DVDFSInit(); |
| 140 | finished = executing; |
| 141 | executing = &DummyCommandBlock; |
| 142 | finished->state = 0; |
| 143 | if (finished->callback) |
| 144 | { |
| 145 | (finished->callback)(0, finished); |
| 146 | } |
| 147 | |
| 148 | stateReady(); |
| 149 | } |
| 150 | else |
| 151 | { |
| 152 | stateGettingError(); |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | inline static void stateError(u32 error) |
| 157 | { |
nothing calls this directly
no test coverage detected