| 199 | } |
| 200 | } |
| 201 | std::optional<PadData> InputRecording::updateControllerData(const int port, const int slot) |
| 202 | { |
| 203 | // Get the PadData from the file |
| 204 | const auto frameData = m_file.readPadData(m_frame_counter, port, slot); |
| 205 | if (frameData) |
| 206 | { |
| 207 | // Update the g_key_status appropriately |
| 208 | frameData->OverrideActualController(); |
| 209 | } |
| 210 | else |
| 211 | { |
| 212 | InputRec::consoleLog(fmt::format("Failed to read input data at [{}:{}:{}]", m_frame_counter, port, slot)); |
| 213 | } |
| 214 | return frameData; |
| 215 | } |
| 216 | |
| 217 | void InputRecording::processRecordQueue() |
| 218 | { |
nothing calls this directly
no test coverage detected