DolphinQt: Add the dumping bitrate setting to the graphics config

Fixes https://bugs.dolphin-emu.org/issues/10250
This commit is contained in:
JosJuice
2019-07-17 20:15:25 +02:00
parent a6dcaed415
commit 199c565bf5
6 changed files with 82 additions and 3 deletions

View File

@ -0,0 +1,24 @@
// Copyright 2019 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <QSpinBox>
namespace Config
{
template <typename T>
struct ConfigInfo;
}
class GraphicsInteger : public QSpinBox
{
Q_OBJECT
public:
GraphicsInteger(int minimum, int maximum, const Config::ConfigInfo<int>& setting, int step = 1);
void Update(int value);
private:
const Config::ConfigInfo<int>& m_setting;
};