summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
AgeCommit message (Collapse)Author
2024-03-31CheatsManager: Allow making the window smallerDentomologist
Move CheatManager's child widgets into scroll areas to allow making the window smaller than the default. In CheatSearchWidget, enable word wrapping for the label describing the address space and search type to help it fit better inside a narrower window.
2023-12-02Disable cheats in hardcore modeLillyJadeKatrin
RetroAchievements does not allow cheats such as Action Replay or Gecko in hardcore mode, for fairness.
2023-08-12DolphinQt: Set window decorations for all top-level QWidgets.Admiral H. Curtiss
2023-05-02GeckoCode: Add sort by enabled stateSepalani
2023-04-13Common/IniFile: Move interface into Common namespaceLioncash
Gets this out of the global namespace and into the Common namespace
2022-03-08Add NonDefaultQPushButton to set autoDefault of buttons to falseMartin
2021-09-16Qt/GeckoCodeWidget: Disable functionality if no game id is given.Admiral H. Curtiss
2021-08-28Split out code for serializing/deserializing cheat linesJosJuice
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2021-06-06GeckoCodeWidget: Take game ID and revision directly instead of through GameFile.Admiral H. Curtiss
2019-09-01Remove double space in GeckoCodeWidget code viewdreamsyntax
2019-08-09Merge pull request #8277 from lioncash/codeConnor McLaughlin
DolphinQt/Config/ARCodeWidget: Avoid unnecessary disk operations
2019-07-31DolphinQt/Config/GeckoCodeWidget: Use forward declarations where applicableLioncash
Avoids propagating headers into scopes where they're not needed.
2019-07-31DolphinQt/Config/GeckoCodeWidget: Call LoadDefaultGameIni() directlyLioncash
This is a static class function, so we don't need to go through the SConfig instance in order to call it.
2019-07-31DolphinQt/Config/GeckoCodeWidget: Make exec() outcomes explicitLioncash
Makes it a little more explicit which dialog outcomes we're expecting. While we're at it, we can invert them into guard clauses to unindent code a little bit.
2019-07-31DolphinQt/Config/GeckoCodeWidget: Deduplicate ini pathLioncash
We can store this to a local variable to avoid duplicating the same string creation twice.
2019-07-30DolphinQt: Replace QStringLiteral with alternatives where applicableLioncash
QStringLiterals generate a buffer so that during runtime there's very little cost to constructing a QString. However, this also means that duplicated strings cannot be optimized out into a single entry that gets referenced everywhere, taking up space in the binary. Rather than use QStringLiteral(""), we can just use QString{} (the default constructor) to signify the empty string. This gets rid of an unnecessary string buffer from being created, saving a tiny bit of space. While we're at it, we can just use the character overloads of particular functions when they're available instead of using a QString overload. The characters in this case are Latin-1 to begin with, so we can just specify the characters as QLatin1Char instances to use those overloads. These will automatically convert to QChar if needed, so this is safe.
2019-07-24Connect numerous QPushButtons to use clicked signal instead of pressed. This ↵Silent
unifies UI behaviour more.
2019-06-22Config/GeckoCodeWidget: Add option for alphabetical sortingspycrab
2019-06-22Qt/GeckoCodeWidget: Support drag and drop reorderingspycrab
2019-03-04Qt: Use ModalMessageBox everywherespycrab
2019-02-25Keep track of GameTDB ID separately from game IDJosJuice
The difference between Dolphin's game IDs and GameTDB's game IDs is that GameTDB uses four characters for non-disc titles, whereas Dolphin uses six characters for all titles. This fixes: - TitleDatabase considering Datel discs to be NHL Hitz 2002 - Gecko code downloading not working for discs with IDs starting with P - Cover downloading mixing up discs with channels (e.g. Mario Kart Wii and Mario Kart Channel) and making extra HTTP requests. (Android was actually doing a better job at this than DolphinQt!)
2018-10-09Change gecko sorting back to manualsp00nd
Gecko codes are a core foundation of most netplay sessions and most general modding cases. It has gone so far as to now have an ini for almost every game. After the massive UI overhaul, the gecko code sorting defaults to Alphabetical with no option to change it. This removes the possibility for netplay builds to have important and necessary codes at the top for easy selecting, and removes the ability to sort massive code lists in categories. This will also make the sorting consistent with AR codes, which are sorted manually.
2018-07-07Move DolphinQt2 to DolphinQtspycrab