mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-31 22:00:28 +01:00
Cfg: add missing get() methods
This commit is contained in:
parent
8f91917e8c
commit
88dc6b7700
|
|
@ -132,6 +132,11 @@ namespace cfg
|
|||
return m_value;
|
||||
}
|
||||
|
||||
bool get() const
|
||||
{
|
||||
return m_value;
|
||||
}
|
||||
|
||||
void from_default() override;
|
||||
|
||||
std::string to_string() const override
|
||||
|
|
@ -178,6 +183,11 @@ namespace cfg
|
|||
return m_value;
|
||||
}
|
||||
|
||||
T get() const
|
||||
{
|
||||
return m_value;
|
||||
}
|
||||
|
||||
void from_default() override
|
||||
{
|
||||
m_value = def;
|
||||
|
|
@ -236,6 +246,11 @@ namespace cfg
|
|||
return m_value;
|
||||
}
|
||||
|
||||
int_type get() const
|
||||
{
|
||||
return m_value;
|
||||
}
|
||||
|
||||
void from_default() override
|
||||
{
|
||||
m_value = def;
|
||||
|
|
|
|||
Loading…
Reference in a new issue