| 2922 | } |
| 2923 | |
| 2924 | void VMManager::Internal::PollInputOnCPUThread() |
| 2925 | { |
| 2926 | Host::PumpMessagesOnCPUThread(); |
| 2927 | InputManager::PollSources(); |
| 2928 | |
| 2929 | if (EmuConfig.EnableRecordingTools) |
| 2930 | { |
| 2931 | // This code is called _before_ Counter's vsync end, and _after_ vsync start |
| 2932 | if (g_InputRecording.isActive()) |
| 2933 | { |
| 2934 | // Process any outstanding recording actions (ie. toggle mode, stop the recording, etc) |
| 2935 | g_InputRecording.processRecordQueue(); |
| 2936 | g_InputRecording.getControls().processControlQueue(); |
| 2937 | // Increment our internal frame counter, used to keep track of when we hit the end, etc. |
| 2938 | g_InputRecording.incFrameCounter(); |
| 2939 | g_InputRecording.handleExceededFrameCounter(); |
| 2940 | } |
| 2941 | // At this point, the PAD data has been read from the user for the current frame |
| 2942 | // so we can either read from it, or overwrite it! |
| 2943 | g_InputRecording.handleControllerDataUpdate(); |
| 2944 | } |
| 2945 | } |
| 2946 | |
| 2947 | void VMManager::CheckForCPUConfigChanges(const Pcsx2Config& old_config) |
| 2948 | { |
nothing calls this directly
no test coverage detected