mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Merge pull request #5984 from spycrab/qt_gecko
Qt/GameList: Implement "Gecko codes" Tab
This commit is contained in:
@ -209,3 +209,17 @@ void Settings::ResetNetPlayServer(NetPlayServer* server)
|
||||
{
|
||||
m_server.reset(server);
|
||||
}
|
||||
|
||||
bool Settings::GetCheatsEnabled() const
|
||||
{
|
||||
return SConfig::GetInstance().bEnableCheats;
|
||||
}
|
||||
|
||||
void Settings::SetCheatsEnabled(bool enabled)
|
||||
{
|
||||
if (SConfig::GetInstance().bEnableCheats != enabled)
|
||||
{
|
||||
SConfig::GetInstance().bEnableCheats = enabled;
|
||||
emit EnableCheatsChanged(enabled);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user