mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-01-31 01:15:24 +01:00
input-rec: refresh imgui overlay when recording mode changes while paused
This commit is contained in:
committed by
refractionpcsx2
parent
844ff5bb04
commit
409c285f36
@@ -225,10 +225,9 @@ void InputRecordingControls::StopCapture() const
|
||||
#include "InputRecordingControls.h"
|
||||
#include "Utilities/InputRecordingLogger.h"
|
||||
|
||||
#include "GS/GS.h"
|
||||
#include "VMManager.h"
|
||||
|
||||
// TODO - update ImGUI when controls are changed - `GetMTGS().PresentCurrentFrame()`, becareful about only running it on the emu/cpu thread
|
||||
|
||||
void InputRecordingControls::toggleRecordMode()
|
||||
{
|
||||
if (isReplaying())
|
||||
@@ -247,6 +246,7 @@ void InputRecordingControls::setRecordMode(bool waitForFrameToEnd)
|
||||
{
|
||||
m_state = Mode::Recording;
|
||||
InputRec::log("Record mode ON");
|
||||
GSPresentCurrentFrame();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -263,6 +263,7 @@ void InputRecordingControls::setReplayMode(bool waitForFrameToEnd)
|
||||
{
|
||||
m_state = Mode::Replaying;
|
||||
InputRec::log("Replay mode ON");
|
||||
GSPresentCurrentFrame();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user