Commit Graph

4285 Commits

Author SHA1 Message Date
Matthew Budd 1403ab607d More widget logic added to Qt debug window. 2020-09-09 21:58:09 -04:00
Matthew Budd 473ef5b7dc Added a little more logic to Qt debug window. 2020-09-09 20:22:31 -04:00
owomomo 19397d1b41 Detail. 2020-09-10 01:44:28 +08:00
owomomo 6dbac1304a Slightly widen the Cheat Search dialog. 2020-09-10 00:53:44 +08:00
Matthew Budd dd7aa8fc2c Added initial framework for adding, editing, and removing breakpoints. 2020-09-08 22:18:49 -04:00
owomomo a3a0e3e543 Fix some logic bug of Directories Dialog. 2020-09-07 01:57:32 +08:00
owomomo 757c13e22a Cheat Search: Switch of show address in Game Genie format 2020-09-06 08:20:20 +08:00
Matthew Budd 4e3e4d2e54 Added logic to update PPU labels on debug window. 2020-09-04 06:48:29 -04:00
Matthew Budd abf863a6a2 Debugger window functionality in work. 2020-09-04 06:37:22 -04:00
Matthew Budd e688ebe23b ASM view port in work. 2020-09-03 22:39:01 -04:00
Matthew Budd fc201b5ff7 Created custom widget for ASM viewport. 2020-09-03 22:21:53 -04:00
Matthew Budd 254a1a1d37 ASM display window changed to use QPlainTextEdit instead of QTextEdit. 2020-09-02 22:16:41 -04:00
Matthew Budd ccbcab5e77 Initial port of ASM window code. 2020-09-02 21:31:54 -04:00
Matthew Budd 7001b55569 Added initial framework for console breakpoint debugger window. 2020-09-01 22:04:59 -04:00
owomomo 1f42929f4f 1. Fix an ancient bug: .deb file doesn't store edit mode for Hex Editor, when the next time it launches, all the bookmarks are treated as RAM bookmarks.
Since this bug was forgotten by developers for years, saving the missing data along with the other preferences would make the emulator backward incompatible. So I finally decided to append them to the end of the preferences.
The older version of FCEUX didn't read/write the .deb file that far, they would stop earlier though the file created by the newer version has more data, because they don't have the appended code.
I hope this modification doesn't break anything as I've tried my best to prevent incompatibilities.
We're facing a difficult choice here, fortunately, it looks like the preferences of Hex Editor stores at last of .deb, so I can just append information in the function. However what could we do if someday someone found a bug in the middle of the deb file such as debuggers etc? As we can only append data, the functions have to be split into more parts, which is damage to the code maintainability and readability.
The problems can't be easily resolved as far as I can think, although currently it is possible to make it work without too much problems.
2. Improved Bookmark Editing Dialog of Hex Editor, now it can edit almost all properties the bookmark has, you can directly change its address and even its view.
3. Changed some logic of debugger bookmark, the address can be directly changed in the dialog.
4. Decoupled Debugger and Hex Editor bookmark editing dialogs and callback functions from sharing one dialog, as they are not in the same system, the differences is worth to make them apart.
5. Disabled input barcode menu in movie recording and no game loading.
6. Detail.
2020-09-01 21:42:06 +08:00
owomomo 8388d4025f Input Barcode is neither supported by movie recording nor TAS, disable the menu when using them. 2020-08-31 23:27:15 +08:00
owomomo 3945f290d1
Merge pull request #22 from TASVideos/master
Sync code to the newest
2020-08-31 21:59:23 +08:00
owomomo 2bdbfdba8f Sync code to the newest 2020-08-31 21:59:02 +08:00
owomomo f8e4696f4a Sync code to the newest. 2020-08-31 21:57:50 +08:00
mjbudd77 2524c1d88e
Merge pull request #169 from mjbudd77/master
Added hex editor fore and back ground color options to config file. O…
2020-08-30 19:20:57 -04:00
Matthew Budd 0349bb3a86 Added hex editor fore and back ground color options to config file. Options are now also saved when using the editor color picker. 2020-08-30 10:35:00 -04:00
mjbudd77 6d88d3df4c
Merge pull request #168 from mjbudd77/master
SDL Qt5 GUI Hex Editor Bookmark Functionality
2020-08-28 22:24:56 -04:00
Matthew Budd e6369e142e Updated Mac OSX build web page. Provided instructions on how to install the necessary dependencies to run the appveyor pipeline autobuild. 2020-08-28 21:40:51 -04:00
Matthew Budd e711b21ee4 Added hex editor remove all bookmarks question acknowledgement box. 2020-08-28 20:23:20 -04:00
Matthew Budd ca59812e97 Added hex editor bookmark auto load/save functionality. 2020-08-27 22:43:13 -04:00
Matthew Budd 1032e6f443 Bookmark menu action memory management fix. QMenu will only delete QActions if it has ownership of the widget. 2020-08-26 22:53:39 -04:00
Matthew Budd 114e22c48f Added hex editor bookmark functionality. Still TODO save bookmarks to file based on ROM name. 2020-08-26 22:44:11 -04:00
mjbudd77 36c39aa0e9
Merge pull request #167 from mjbudd77/master
Added QT GUI Hex Editor
2020-08-25 22:18:34 -04:00
Matthew Budd 51019a6e06 Cleanup up old commented out code in QT GUI main window. 2020-08-25 21:24:34 -04:00
Matthew Budd c23fa5dc60 Memory management fix for QT dialog windows. Ensure that window is marked for deletion when it is closed. 2020-08-25 20:59:36 -04:00
Matthew Budd a624278fca Added native menu option to hex editor. 2020-08-25 18:41:58 -04:00
Matthew Budd 67f6be539a Added TODO comments to hex editor context menu. These menu options can not be finished until other debug features such as the debugger and code/data trace/log functionality has been created. 2020-08-24 20:50:06 -04:00
Matthew Budd 1f09ecca2c Added hex editor window close menu option. 2020-08-24 20:27:12 -04:00
Matthew Budd 14f0da12c7 Added save ROM as hex editor functionality 2020-08-24 20:06:36 -04:00
Matthew Budd 08feb4710b Added utility function to strip out a base file name from a full path. 2020-08-24 19:52:28 -04:00
Matthew Budd e8f1ffdf8d Added hex editor horizontal scroll logic. 2020-08-23 22:24:54 -04:00
Matthew Budd a93af6f821 Cleanup of hex editor code, consolidated as much as possible into QHexEdit custom widget. 2020-08-23 10:00:54 -04:00
Matthew Budd 832a6b0a64 Setting up framework for hex editor bookmarks 2020-08-22 22:01:53 -04:00
Matthew Budd ff3125cbf8 Bug fix for updating vertical bar when using page up/down functions. 2020-08-22 21:42:51 -04:00
Matthew Budd 4b92abdb47 Added framework for hex editor context menu. 2020-08-22 21:38:09 -04:00
Matthew Budd 66810fdb9d Changed cursor movement logic to move to nearest hex address. 2020-08-22 20:48:31 -04:00
Matthew Budd b01b1c7a4c Cursor selection update to Hex editor 2020-08-22 20:42:33 -04:00
Matthew Budd f3af7cc6c8 Added hex editor fore ground and back ground color options. 2020-08-22 20:20:18 -04:00
Matthew Budd 6a425f61d1 Added activity color options to hex editor menu. 2020-08-22 19:54:11 -04:00
Matthew Budd 6aacaa5595 Added activity color highlight logic. 2020-08-22 19:15:56 -04:00
Matthew Budd c99c729b23 Added hex editor view mode menu logic. 2020-08-22 14:16:13 -04:00
Matthew Budd ecf558c1a3 Moved pixel space to cursor position conversion into its own function. 2020-08-22 13:57:36 -04:00
Matthew Budd 1eaa3f46f9 Added logic to position cursor via left mouse clicks on hex editor. 2020-08-21 21:05:52 -04:00
mjbudd77 b37e1e03f0 Cppcheck warning fixes for Qt GUI. 2020-08-21 11:55:19 -04:00
mjbudd77 b614edee75 Added memory write logic to hex editor. 2020-08-21 11:50:36 -04:00