| 191 | } |
| 192 | |
| 193 | void InputRecording::saveControllerData(const PadData& data, const int port, const int slot) |
| 194 | { |
| 195 | // Save the frame's data to the file |
| 196 | if (!m_file.writePadData(m_frame_counter, data)) |
| 197 | { |
| 198 | InputRec::consoleLog(fmt::format("Failed to write input data at [{}:{}:{}]", m_frame_counter, port, slot)); |
| 199 | } |
| 200 | } |
| 201 | std::optional<PadData> InputRecording::updateControllerData(const int port, const int slot) |
| 202 | { |
| 203 | // Get the PadData from the file |
nothing calls this directly
no test coverage detected