summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Cheats
AgeCommit message (Collapse)Author
2018-06-26Remove DolphinWXspycrab
2018-04-12Reformat all the things!spycrab
2017-11-02Make GUI strings more consistentJosJuice
Most of the changes I've made here were because of small differences between DolphinWX and DolphinQt2.
2017-10-11CheatSearchTab: Add UI for manually adding an addressVladimir Panteleev
Sometimes an address is already known, e.g. from existing cheat codes, and only inspecting the variable's value is desired.
2017-06-11StringUtil: Make SplitString return by valueLéo Lam
Simpler usage.
2017-06-05Merge pull request #4878 from ligfx/geckodownloadcodesshuffle2
Move GeckoCodeDiag download logic to GeckoCodeConfig (and make it use Curl)
2017-04-06Frame: Make cheat dialog privateLioncash
Rather than destroy and reinitialize the dialog whenever it's closed, and opened this dialog can just be hidden from view when it's not needed, and shown again when it is needed. Also, a dialog should really not be managing any live instances of itself, including the one directly in the main frame. This gets rid of another usage of the main frame global.
2017-04-05Move GeckoCodeDiag download logic to GeckoCodeConfigMichael Maltese
2017-03-21GeckoCodeConfig: Return vector by value for LoadCodes()Lioncash
Using an out-param is a leftover from C++03. Action Replay codes already return the vector of codes by value as well.
2017-03-14Merge pull request #4964 from DisorderIy/arcode-removal-fixAnthony
Fix remove and add buttons not disabling after removing Action Replay code
2017-03-09Unify the way of setting game ID, title ID, revisionJosJuice
The existing code from ConfigManager, ES and MIOS is merged into a new set of functions called SetRunningGameMetadata.
2017-03-08ConfigManager: Remove m_strNameJosJuice
m_strName has limited usefulness, because GetInternalName() can be inaccurate or even completely wrong. It was almost completely unused anyway.
2017-03-03Common: Move byte swapping utilities into their own headerLioncash
This moves all the byte swapping utilities into a header named Swap.h. A dedicated header is much more preferable here due to the size of the code itself. In general usage throughout the codebase, CommonFuncs.h was generally only included for these functions anyway. These being in their own header avoids dumping the lesser used utilities into scope. As well as providing a localized area for more utilities related to byte swapping in the future (should they be needed). This also makes it nicer to identify which files depend on the byte swapping utilities in particular. Since this is a completely new header, moving the code uncovered a few indirect includes, as well as making some other inclusions unnecessary.
2017-02-25Fixed the remove and add buttons not disabling after removing a code.Adam Diffin
2017-02-05Core: Convert State enum into an enum classLioncash
2016-12-01DolphinWX: Separate the information panel from ISOPropertiesLioncash
Makes the information panel self-contained. This was done first, as opposed to isolating the GameConfig panel--the first panel in the group--as this panel had code all over the place in ISOProperties, so I figured it'd be best to fix this one up first.
2016-11-27Remove unnecessary ConfigManager includesLéo Lam
Making changes to ConfigManager.h has always been a pain, because it means rebuilding half of Dolphin, since a lot of files depend on and include this header. However, it turns out some includes are unnecessary. This commit removes ConfigManager includes from files which don't contain SConfig or GPUDeterminismMode or GPU_DETERMINISM (which means the ConfigManager include is not used). (I've also had to get rid of some indirect includes.)
2016-11-02More debug text fixesJosJuice
Also a few small non-debug text changes.
2016-10-29DiscIO/SConfig: Rename GetUniqueID to GetGameIDJosJuice
We call this "game ID" everywhere else, and it's not actually completely unique.
2016-10-04WX: Replace SetIcon with SetIcons(wxIconBundle)EmptyChaos
Setting a single icon at a single resolution doesn't scale well, Windows requires a 16x16 icon for the window and a 32x32/48x48 for the taskbar. Providing all icons produces less pixellated results at HiDPI.
2016-10-04WX: HiDPI: CheatsWindowEmptyChaos
Changed the Cheat Search tab to disable the scan buttons while there is not a game running and enable when it starts. Also added double-click to create code to the result list.
2016-10-03GeckoCode: Provide operator== and operator!= overloadsLioncash
Same thing but allows both GeckoCode and Code to be utilized directly without predicates for equality/inequality in stardard algorithms The size check for std::vectors is unnecessary, as this is built into std::vector's operator==
2016-08-31ISOProperties: Add notification when Cheats are disabled.EmptyChaos
If the user enables a cheat while cheats are globally disabled then display a notice about it. Issue 9690.
2016-08-31CheatManager/ISOProperties: Refactor ActionReplay tabs as a classEmptyChaos
Refactor Action Replay code into its own class like Gecko Codes.
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2016-05-29ActionReplay: UI Consistency and CleanupEmptyChaos
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.
2016-05-29ActionReplay: Fix ISOProperties corrupting active code setEmptyChaos
ISOProperties loads codes using ActionReplay::LoadCodes which actually applies the codes to the global state. If a game is running then that games receives all the codes (and ACTIVE status) from the second game being shown in ISOProperties which is not desirable.
2015-12-30Added the ability to search on previous value in the Cheat Search.skidau
Fixed a bug where old values were being updated automatically by the display refresh. Fixes issue 9212.
2015-12-26CheatSearchTab: Use an enum for filter masks rather than intsrabbott99
2015-09-19Fix Cheat Manager not saving created codesJosJuice
2015-09-13DolphinWX: Only read titles.txt onceJosJuice
titles.txt is read into a map and passed to the GameListItem constructor, making game list scanning a bit more efficient. ISOPropreties's constructor is changed to take a GameListItem as an argument instead of creating one on its own, because ISOPropreties doesn't have the titles.txt map that the GameListItem constructor wants.
2015-09-11Partially revert "General: Toss out PRI macro usage"Lioncash
2015-08-12CheatSearchTab: Simplify functionalityLioncash
With auto-updating lists, searching for the previous value isn't necessary. Also, this breaks out specific functionality into their own functions, which helps separate UI code from the data processing code. modified: Source/Core/DolphinWX/Cheats/CheatSearchTab.h
2015-08-12CheatSearchTab: Make the search results list auto update address valuesLioncash
2015-08-06CheatSearchTab: Display floating point equivalent resultsLioncash
2015-08-06CheatSearchTab: Convert wxListBox into a wxListViewLioncash
Allows us to give the list view columns. This allows removal of monospace font use, as it's now a properly formatted list.
2015-06-29Merge branch 'stable'Jules Blok
2015-06-28CheatSearchTab: Check Core state instead of checking a memory pointer.Jules Blok
2015-06-12Options: merge SCoreStartupParameter into SConfigdegasus
2015-06-06Fix line ending bug for downloaded gecko codesmimimi085181
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-05-08Core: Remove some header inclusions in header filesLioncash
Replaces them with forward declarations of used types, or removes them entirely if they aren't used at all. This also replaces certain Common headers with less inclusive ones (in terms of definitions they pull in).
2015-05-08DolphinWX: Remove unnecessary includesLioncash
2015-04-28DolphinWX: Remove unnecessary forward declarationsLioncash
These are all fully defined
2015-03-12Rename "Cheats Manager" to "Cheat Manager"Stevoisiak
2015-03-06Fix 4.0-5689 regression (AR codes, patches)JosJuice
CreateCodeTab, ARCodeAddEdit and PatchAddEdit need to be able to modify arCodes/onFrame.
2015-02-27Merge pull request #2123 from RachelBryk/nonmodal-isopropsskidau
Make iso properties non modal.
2015-02-25Formatting/Whitespace CleanupStevoisiak
Various fixes to formatting and whitespace
2015-02-24Make iso properties non modal.Rachel Bryk