25 Commits

Author SHA1 Message Date
Stenzek
184b0a1a52 Misc: Swap most C format strings for fmt 2023-09-23 14:14:52 +10:00
Stenzek
1ec6aee5bf Host: Split translation macros dependent on return type 2023-08-20 12:40:47 +10:00
Connor McLaughlin
8c7a192128 Misc: Add copyright/license statement to applicable files
Should've did this in the beginning.
2022-12-04 21:03:49 +10:00
Connor McLaughlin
916900be5d Misc: More warning fixes 2022-08-10 14:33:31 +10:00
Connor McLaughlin
b42b5501f6 UI: Massive revamp, new features and improvements 2022-07-22 21:19:54 +10:00
Silent
c7d0df6081
Cheats: Update Cheat Manager state on toggling cheats from the list
Fixes a visual desync of these two lists
2021-08-26 20:17:23 +02:00
PugsyMAME
f835db6b4f
Improved Cheat Memory Scanner functionality
Work done :
** Made the columns sortable (someone asked for this GH I think)
** Moved the Add to Watch button to under the search parameters, and renamed it.
** Made the selection work on a block level so we can block "add results" and block "Remove Watch" on multiple entries
** Made the description show the raw code - so either 3xxxxxxx, 8xxxxxxx, 9xxxxxxx depending on the Data Size and the memory being under 0x200000. This can be edited still.
** Changed the Watch value field to take a hex number in the form 0xX as well as a decimal number.
** Moved the freeze box to the right column, I originally did this prior to finding out about ContiguousSelection and I think it makes more sense next to the value you want to freeze
** Removed the message about 5000 results limitation (it made searching painful) and added a text box showing it permanently along with the number of results (which you can observe going down as you continue the search)
** Hidden the "Save Watch" & "Load Watch" buttons, they have no functionality (yet) and making them invisible in the mean time makes it less confusing.
2021-08-06 12:24:14 +01:00
Connor McLaughlin
e382df0d41 Support expanding RAM to 8MB (dev console) 2021-05-03 12:43:33 +10:00
Silent
84bec06a90
Use QString::number where applicable 2021-03-05 12:59:28 +01:00
Connor McLaughlin
eabda2979c Qt: Fix Linux compile 2021-02-12 01:10:08 +10:00
Connor McLaughlin
de688615ff Qt: Add Clear and Reset buttons to cheat manager 2021-02-12 01:01:30 +10:00
PugsyMAME
90073ac1d0
Cheat Manager Memory Scanner improvements
Updated Memory Scanner to use sized hexadecimal in results and manual watches.
Enforced Halfword,Word address settings so that it's a valid word or halfword that is being watched.
2020-12-27 16:12:10 +00:00
Albert Liu
46239e3d09 Qt/CheatManagerDialog: Fix lupdate warning 2020-12-27 00:57:55 -08:00
PugsyMAME
31423ef697
Changed debugger "Enter memory address" to accept hex only (#1317)
* Changed debugger "Enter memory address" to accept hex only

The "Enter memory address" prompt by default expects a decimal address unless it's preceded by 0x. Or it expects an number starting with 0 is an octal.
The disassembly address should be hexadecimal regardless as that is how it it displays the address.
Also changed it so that it changes any address entered to be divisible by 4 as there was an observed issue that would cause the disassembly addresses to get locked to a address that was not divisible by 4

* Translation updates for Debugger memory address change

Updated the three translation files that mentioned the original "Invalid address. It should be in hex" string.

* Changed debugger "Enter memory address" to accept hex only

UPDATE TO PR #1316
The "Enter memory address" prompt by default expects a decimal address unless it's preceded by 0x. Or it expects an number starting with 0 is an octal.
The disassembly address should be hexadecimal regardless as that is how it it displays the address.
Also changed it so that it changes any breakpoint or disassembly address entered to be divisible by 4 as there was an observed issue that would cause the disassembly addresses to get locked to a address that was not divisible by 4 and a breakpoint address that is not divisible by 4 would never be hit.
2020-12-27 00:43:43 +10:00
Connor McLaughlin
9384f3a8e9 Qt/CheatManager: Fix checking groups not updating child nodes 2020-12-23 01:34:32 +10:00
Connor McLaughlin
980aa0a8bc Qt/CheatManager: Add manual watch address 2020-12-19 02:44:46 +10:00
Connor McLaughlin
eaafd0a00c Cheats: Support parsing built-in database 2020-11-30 01:15:44 +10:00
Connor McLaughlin
44e2a857fa Qt/CheatManager: Add import file/text options 2020-11-08 00:22:35 +10:00
Connor McLaughlin
6828082f8b CheatList: Add merge list function for importing 2020-11-08 00:22:35 +10:00
Connor McLaughlin
b6a8da34fe Qt/CheatManager: Add preset address ranges 2020-10-21 22:28:11 +10:00
Connor McLaughlin
ffc0a5def4 Qt/CheatManager: Hook up address search range 2020-10-21 22:28:11 +10:00
Connor McLaughlin
a83439fd35 Qt/CheatManager: Only display first 5000 search results 2020-10-21 22:28:11 +10:00
Connor McLaughlin
1f948b1266 Qt: Add groups to cheat manager 2020-10-21 22:28:11 +10:00
Connor McLaughlin
133639122d Qt: Don't refresh entire list on adding/editing cheat 2020-10-21 22:28:11 +10:00
Connor McLaughlin
b694577c38 Qt: Add new cheat manager 2020-10-21 01:11:30 +10:00