pcsx2/pcsx2-qt/Settings/AdvancedSettingsWidget.h

29 lines
621 B
C++

// SPDX-FileCopyrightText: 2002-2024 PCSX2 Dev Team
// SPDX-License-Identifier: GPL-3.0+
#pragma once
#include <QtWidgets/QWidget>
#include "ui_AdvancedSettingsWidget.h"
class SettingsWindow;
class AdvancedSettingsWidget : public QWidget
{
Q_OBJECT
public:
AdvancedSettingsWidget(SettingsWindow* dialog, QWidget* parent);
~AdvancedSettingsWidget();
private:
int getGlobalClampingModeIndex(int vunum) const;
int getClampingModeIndex(int vunum) const;
void setClampingMode(int vunum, int index);
void onSavestateCompressionTypeChanged();
SettingsWindow* m_dialog;
Ui::AdvancedSystemSettingsWidget m_ui;
};