mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
Core: Allow overriding the enabling of a code
If we want to enable codes in the default game INIs, we should have some way for users to disable them. This commit accomplishes that by adding a *_Disabled section corresponding to each *_Enabled section.
This commit is contained in:
@ -292,7 +292,7 @@ void CheatsManager::GenerateARCode()
|
||||
int index = item->data(INDEX_ROLE).toInt();
|
||||
ActionReplay::ARCode ar_code;
|
||||
|
||||
ar_code.active = true;
|
||||
ar_code.enabled = true;
|
||||
ar_code.user_defined = true;
|
||||
ar_code.name = tr("Generated by search (Address %1)")
|
||||
.arg(m_watch[index].address, 8, 16, QLatin1Char('0'))
|
||||
|
Reference in New Issue
Block a user