mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 16:18:58 +00:00
ActionReplay: UI Consistency and Cleanup
Cleanup code style. Move ActionReplay code->INI saving into ActionReplay namespace. Threadsafety Cleanup: ActionReplay is accessed from the Host, Emu and CPU Threads so the internal storage needs to be protected by a lock to prevent vectors/strings being deleted/moved while in use by the CPU Thread. UI Consistency: Make ARCodes behave like Gecko Codes - only apply changes when Apply is pressed. Save changes to INI from CheatsWindow. ISOProperties/CheatsWindow now synchronize with each other.
This commit is contained in:
parent
25b072ff2b
commit
6ab1b27477
11 changed files with 328 additions and 374 deletions
|
@ -160,6 +160,7 @@ void CARCodeAddEdit::SaveCheatData(wxCommandEvent& WXUNUSED(event))
|
|||
newCheat.name = WxStrToStr(EditCheatName->GetValue());
|
||||
newCheat.ops = decryptedLines;
|
||||
newCheat.active = true;
|
||||
newCheat.user_defined = true;
|
||||
|
||||
arCodes->push_back(newCheat);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue