1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 20:22:30 +01:00

Cfg: add missing get() methods

This commit is contained in:
Nekotekina 2018-05-04 23:48:05 +03:00
parent 8f91917e8c
commit 88dc6b7700

View File

@ -132,6 +132,11 @@ namespace cfg
return m_value; return m_value;
} }
bool get() const
{
return m_value;
}
void from_default() override; void from_default() override;
std::string to_string() const override std::string to_string() const override
@ -178,6 +183,11 @@ namespace cfg
return m_value; return m_value;
} }
T get() const
{
return m_value;
}
void from_default() override void from_default() override
{ {
m_value = def; m_value = def;
@ -236,6 +246,11 @@ namespace cfg
return m_value; return m_value;
} }
int_type get() const
{
return m_value;
}
void from_default() override void from_default() override
{ {
m_value = def; m_value = def;