mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
Cfg: add missing get() methods
This commit is contained in:
parent
8f91917e8c
commit
88dc6b7700
1 changed files with 15 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue