mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 15:45:46 +00:00
yuzu: Fix TAS from rebase
This commit is contained in:
parent
b8b849dc2e
commit
2e699e089a
3 changed files with 11 additions and 9 deletions
|
@ -2992,9 +2992,10 @@ void GMainWindow::OnTasStateChanged() {
|
|||
bool is_running = false;
|
||||
bool is_recording = false;
|
||||
if (emulation_running) {
|
||||
const TasInput::TasState tas_status = std::get<0>(input_subsystem->GetTas()->GetStatus());
|
||||
is_running = tas_status == TasInput::TasState::Running;
|
||||
is_recording = tas_status == TasInput::TasState::Recording;
|
||||
const InputCommon::TasInput::TasState tas_status =
|
||||
std::get<0>(input_subsystem->GetTas()->GetStatus());
|
||||
is_running = tas_status == InputCommon::TasInput::TasState::Running;
|
||||
is_recording = tas_status == InputCommon::TasInput::TasState::Recording;
|
||||
}
|
||||
|
||||
ui->action_TAS_Start->setText(is_running ? tr("&Stop Running") : tr("&Start"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue