mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-12-16 04:08:48 +00:00
31 lines
800 B
C++
31 lines
800 B
C++
// SPDX-FileCopyrightText: 2002-2025 PCSX2 Dev Team
|
|
// SPDX-License-Identifier: GPL-3.0+
|
|
|
|
#pragma once
|
|
|
|
#include "ui_EmulationSettingsWidget.h"
|
|
|
|
#include "SettingsWidget.h"
|
|
|
|
class EmulationSettingsWidget : public SettingsWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
EmulationSettingsWidget(SettingsWindow* settings_dialog, QWidget* parent);
|
|
~EmulationSettingsWidget();
|
|
|
|
private Q_SLOTS:
|
|
void onOptimalFramePacingChanged();
|
|
|
|
private:
|
|
void initializeSpeedCombo(QComboBox* cb, const char* section, const char* key, float default_value);
|
|
void handleSpeedComboChange(QComboBox* cb, const char* section, const char* key);
|
|
void updateOptimalFramePacing();
|
|
void updateUseVSyncForTimingEnabled();
|
|
void onManuallySetRealTimeClockChanged();
|
|
void onUseSystemLocaleFormatChanged();
|
|
|
|
Ui::EmulationSettingsWidget m_ui;
|
|
};
|