Commit Graph

2958 Commits

Author SHA1 Message Date
Matthew Budd 78d78ceab9 Modified the getRomFile Qt GUI function for ROMs opened from zip archives. The returned path will be the directory to the zip file and the base and suffix file parts come from the inner deflated zip file name. 2020-10-25 12:02:41 -04:00
Matthew Budd c09b1f6c7a For Qt GUI, added a zip archive ROM list selection window for the case where a zip file contains more than one ROM file in it. 2020-10-25 11:34:33 -04:00
Matthew Budd b0c460fd1d Bug fix for saving of CDL and debug files when the ROM was loaded from an archive. 2020-10-25 10:25:11 -04:00
Matthew Budd 0ce058b35b Added code to allow for ROMs to be extracted and opened from zip file in Qt GUI. 2020-10-24 22:04:00 -04:00
Matthew Budd c01d4e8621 Added all non-compressed useable file types to the open ROM file dialog filters for Qt GUI. 2020-10-24 09:43:38 -04:00
Matthew Budd 040c7abaef Updated linux desktop installation to use higher resolution icon. Added a white trim to the icon to have contrast on dark desktop backgrounds. 2020-10-22 22:19:47 -04:00
Matthew Budd 1d2fa00335 Added QDir::AllDirs argument to all Qt GUI file browser instances to ensure that all directories will be shown any time a QFileDialog is opened. 2020-10-22 00:17:32 -04:00
Matthew Budd 8252a94202 Minor code cleanup. 2020-10-21 22:05:15 -04:00
mjbudd77 bf696c6494 Build fix for Mac OSX emu.getdir() lua code. 2020-10-21 21:52:32 -04:00
Matthew Budd 80022a40d6 Changed logic to use dirname for Mac OS emu.getdir(). 2020-10-21 21:40:27 -04:00
Matthew Budd 379ff6d757 Added emu.getdir() logic for linux and mac OSX 2020-10-21 21:21:49 -04:00
Matthew Budd fede6f5690 Minor cleanup of lua engine load rom update for SDL port. 2020-10-21 20:45:50 -04:00
Matthew Budd 58e87898f2 Merge branch 'master' of https://github.com/mjbudd77/fceux 2020-10-21 20:33:22 -04:00
Matthew Budd f0c13a57ec Fixed Qt context menus so that all child widgets are destroyed after the menu parent goes out of scope. 2020-10-21 20:31:39 -04:00
Mario Perić 432ffeeec2 Use LoadGame instead of FCEUI_LoadGame 2020-10-22 01:20:48 +02:00
Mario Perić ec72160f39 Added support for loading ROM files from Lua script on Linux 2020-10-21 22:09:55 +02:00
mjbudd77 7c4c524152 Added a line to ensure that linear filter option is initialized at startup for Qt gui. 2020-10-20 07:28:46 -04:00
mjbudd77 812ef25629 Added pixel linear filtering option logic for SDL viewport (for OpenGL and Direct3D backends only) 2020-10-20 07:19:47 -04:00
mjbudd77 fd5e68efd0 For Qt GUI, added PPU pattern view key shortcuts for context menu options. 2020-10-19 23:34:28 -04:00
mjbudd77 2f716e0e77 For the Qt GUI, added a PPU pattern tile zoomed view feature via a context menu. The pattern view context menu can now be use to change palettes, toggle tile grid lines, and enter/exit tile zoom mode. Also, added a Qt message capture function to get any error, warning, info, or debug messages that come out of the Qt application core. 2020-10-19 23:21:00 -04:00
mjbudd77 1c762f95d1 Added code to the Qt gui to allow for individual users to set custom Qt styling. The Qt gui will check to see if an environment variable exists named FCEUX_QT_STYLESHEET, which should contain the full path to a Qt stylesheet file. If the variable is defined and the file exists and can be opened, then the style content for that file will be used by the application. 2020-10-18 22:13:00 -04:00
mjbudd77 9e57c49f5a Added logic to initialize the fore and background color palettes of the Qt trace logger viewport. 2020-10-18 21:36:49 -04:00
mjbudd77 1c0d999033 Hooked up OpenGL linear filtering enable function to Qt video config checkbox. 2020-10-18 21:31:37 -04:00
mjbudd77 ce2afe23e1 Added a circular buffer to the Qt Lua output console to allow for messages to be passed in a thread safe way from the emulation thread to the GUI thread. This fixes the crash issue mentioned in Issue #190. 2020-10-18 15:30:14 -04:00
mjbudd77 da0ab1359c Added set frame advance delay menu and input dialog logic for Qt GUI. 2020-10-18 10:53:31 -04:00
mjbudd77 8b5e99909a Added emulation speed control main menu functionality to Qt GUI. 2020-10-18 10:34:03 -04:00
mjbudd77 30f6f385ec
Merge pull request #188 from mjbudd77/master
Per request, changed the Qt debugger stack display to use a more comp…
2020-10-18 00:32:14 -04:00
mjbudd77 0f33735e06 Per request, changed the Qt debugger stack display to use a more compact address text format. 2020-10-17 23:57:10 -04:00
mjbudd77 9ad3cc8c7c
Merge pull request #187 from mjbudd77/master
Bug fix for order of destruction issue caused when shutting down the …
2020-10-17 23:50:41 -04:00
mjbudd77 598f036d56 Bug fix for order of destruction issue caused when shutting down the application with the debugger window open. 2020-10-17 23:26:49 -04:00
mjbudd77 707368157d
Merge pull request #186 from mjbudd77/master
For Qt GUI debugger window, added logic to allow for display of stack…
2020-10-17 23:07:55 -04:00
mjbudd77 c1fca59e74 For Qt GUI debugger window, added logic to allow for display of stack addresses to be toggle-able on/off via either context menu or A key when widget has focus. 2020-10-17 22:41:29 -04:00
mjbudd77 1caeb2ba71
Merge pull request #185 from mjbudd77/master
Bug fix and Improvements for Qt Debugger Stack Display
2020-10-17 22:24:00 -04:00
mjbudd77 fffa78b507 Bug fix for Qt debugger stack display clipping end of line. Added logic to allow for the stack display to auto show a horizontal scroll bar if needed. Also added a stack display bytes per line config option. This can be changed by either right clicking the stack display widget and selecting the desired value in the context menu or using the number keys 1-8 when the widget has focus. 2020-10-17 21:22:19 -04:00
mjbudd77 e66a162430
Merge pull request #184 from mjbudd77/master
Added RAM Search Window to Qt GUI
2020-10-17 00:23:56 -04:00
mjbudd77 5715ec235a Added Qt Hex Editor goto Address Dialog. Added RAM search to Qt GUI capability list. 2020-10-16 23:53:20 -04:00
mjbudd77 e77dd77b7c Resolved simple cppcheck warning on Qt Ram watch window. 2020-10-16 23:18:13 -04:00
mjbudd77 3c67d440e8 Added logic to Qt RAM search window to not store search history when auto search is active. This will avoid excessive memory allocation. 2020-10-16 23:15:23 -04:00
mjbudd77 c98276945e Added RAM Watch quick access from RAM search window for Qt GUI 2020-10-16 22:44:23 -04:00
mjbudd77 65bb526951 Added logic to refresh cheat window when adding from RAM search or watch windows for Qt GUI 2020-10-16 22:30:04 -04:00
mjbudd77 1dc0181e01 Added RAM search quick eliminate and hex editor functions for Qt GUI. 2020-10-16 22:04:45 -04:00
mjbudd77 4215f2d3f7 Successful test of all RAM search functions in Qt GUI. 2020-10-16 20:47:29 -04:00
mjbudd77 abe66aceec Successful test of RAM specific value search 2020-10-16 20:20:29 -04:00
mjbudd77 7803cc3294 Successful test of ram relative search functionality. 2020-10-16 20:05:51 -04:00
zeromus fca059aaf4 mmc5 was making no virtually no effort to clear data on power-on, creating nondeterminisms on movie plays. I revised all that.. and it's making me think fceux fundamentally doesn't work well with this. In particular I'm not sure about the timing of the loaded save data. If we get called in the order: mapper_init, loadsavedata, mapper_power -- then we will clobber the WRAM in mapper_power (at least, the way I have it now in mmc5) which will lose the save data. save data should really be loaded AFTER a power-on command. but I don't think fceux ever through through any of this very well. well, at least this fixes my case of a deterministic fm2. 2020-10-16 13:02:06 -04:00
mjbudd77 ebfe3702f9 Qt RAM search input validation in work. 2020-10-15 22:22:44 -04:00
mjbudd77 9412b850cb Ram search by relative value in work. 2020-10-15 20:39:56 -04:00
Matthew Budd 1368d0550e Bug fix for Qt GUI frame advance logic. Updated RamSearch to run after ever completed frame. 2020-10-12 15:51:24 -04:00
Matthew Budd 25152af42a Qt RAM search window in work. 2020-10-12 00:09:00 -04:00
Matthew Budd 5dc72e7924 Added custom widget to optimize Qt ram search view 2020-10-11 22:54:19 -04:00
Matthew Budd cfa752a693 Qt Ram Search window in work. QTreeWidget does not handle large data sets very efficiently. Going to have to make a custom widget. 2020-10-11 21:36:26 -04:00
Matthew Budd 0f506dc348 Qt Ram search logic in work. 2020-10-11 11:25:35 -04:00
Matthew Budd baa724ed14 Added initial layout of Qt RAM Search window. 2020-10-11 10:40:27 -04:00
mjbudd77 50d789f4f5
Merge pull request #182 from mjbudd77/master
Added Qt RAM Watch Window Feature
2020-10-10 09:48:21 -04:00
Matthew Budd a03b5d9ae8 Qt RAM watch window separator logic changed so that separator lines can span full width of viewport. Minor bug fixes to Qt RAM watch add/edit window 2020-10-10 09:03:19 -04:00
Matthew Budd 66c34c2d49 A couple bug fixes for the Qt RAM watch window. 2020-10-09 23:08:40 -04:00
Matthew Budd e03c558db6 Updated Qt RAM watch file format to match windows version. 2020-10-09 22:51:56 -04:00
Matthew Budd 1f11c67c84 Successful test of all Qt RAM watch features. Minor cppcheck warning cleanup. 2020-10-09 22:08:38 -04:00
Alexey 'Cluster' Avdyukhin 4f0dbfb389 LCD Zapper sensor logic should be inverted because 0: detected; 1: not detected 2020-10-09 23:26:51 +03:00
Matthew Budd 778d9c733d Added logic for add, edit and remove ram watch entries. 2020-10-08 22:05:31 -04:00
Alexey 'Cluster' Avdyukhin 9d837056c9
Merge branch 'master' into Issue130 2020-10-08 19:56:48 +03:00
Alexey 'Cluster' Avdyukhin e9f6c4d237 Fixed HEX editor copy/paste bug introduced by commit a9c4bc95
Paste function was bugged while using HEX editor in "ROM" mode
2020-10-08 17:18:08 +03:00
Matthew Budd f440c820fd Added initial layout for Qt Ram Watch Edit window. 2020-10-08 07:08:47 -04:00
Matthew Budd f8e7187f05 Build fix for MacOSX 2020-10-08 06:39:08 -04:00
Matthew Budd ff694ebe49 Qt Ram watch logic in work. 2020-10-07 21:01:39 -04:00
Matthew Budd ab922df318 Added initial window layout for Qt RAM Watch window. 2020-10-07 20:35:52 -04:00
mjbudd77 c5e39608c9
Merge pull request #181 from mjbudd77/master
Added Name Table Viewer Feature for Qt GUI
2020-10-06 21:52:13 -04:00
Matthew Budd 6dfd3fb2d0 Added logic to draw scroll lines on NT Viewer for Qt GUI 2020-10-06 21:31:40 -04:00
Matthew Budd a79400720b Hooked up logic for NT View attribute and hide palette functionality in Qt GUI 2020-10-06 21:08:10 -04:00
Matthew Budd 2d403fac3e Added logic to fillout property labels on NT view Qt GUI. 2020-10-06 21:02:10 -04:00
Matthew Budd 652cc4f2c9 Added logic to protect against PPU and NT view windows from crash when being opened with no game loaded. 2020-10-06 20:08:17 -04:00
Matthew Budd c66fc35a40 Build fix for GTK GUI missing NT view function needed by core. 2020-10-06 19:52:02 -04:00
Matthew Budd 2b15f8611e Added NT Mirroring display and selection logic for Qt GUI 2020-10-06 19:50:22 -04:00
Matthew Budd 4765bc8bdd Added widgets for mirroring and properties frames on Qt NT viewer 2020-10-06 19:00:32 -04:00
Matthew Budd 826a39c83e Added logic to not call window update from emulator thread in Qt GUI. Qt widget update() should always be called from within main gui thread. 2020-10-06 18:40:14 -04:00
CaH4e3 0120f63ed0
Merge pull request #180 from ClusterM/hori
Hori 4-Player Adapter support
2020-10-06 14:29:29 +03:00
CaH4e3 fb86ac871c
Merge pull request #172 from owomomo/master
Hex Editor bookmark Bugfixes and Feature Updates
2020-10-06 14:28:48 +03:00
owomomo 6890f79768 1. More informative Hex Editor bookmark edit dialog.
2. Fix some logic bugs of importing bookmarks.
3. Detail
2020-10-06 18:59:37 +08:00
Alexey 'Cluster' Avdyukhin bc086823e4 Hori 4-Player Adapter support 2020-10-06 09:37:31 +03:00
Matthew Budd 03cd068439 Qt Name table Viewer in work. 2020-10-05 23:17:27 -04:00
Matthew Budd 73726114c5 Name table view first successful drawing on Qt GUI. 2020-10-05 22:49:09 -04:00
Matthew Budd 579a8d2159 Initial layout of Qt Name Table window in work. 2020-10-05 21:14:49 -04:00
Matthew Budd 1f12627c8f Added initial file for Qt name table viewer 2020-10-05 20:52:09 -04:00
mjbudd77 45e9922ff9
Merge pull request #179 from mjbudd77/master
Minor cleanup and bug fixes for Qt/SDL PPU Viewer
2020-10-05 20:34:12 -04:00
Matthew Budd b31a2131b4 Minor cleanup of debug print statements in Qt GUI. 2020-10-05 20:11:01 -04:00
Matthew Budd 6ef21c4433 Added logic to fill out palette label when moving cursor over tile. 2020-10-05 20:02:16 -04:00
Matthew Budd cc70f501c8 Minor bugfix for pattern table label when mouse scroll out of bounds. 2020-10-05 19:35:14 -04:00
owomomo 8f785ba9d3 Fix issue #101 the note of separator shifts after reload. 2020-10-05 21:32:47 +08:00
owomomo d5ff6ff2fe Fix a bug that KillMemView() calls multiple times to cause crash problems. 2020-10-05 19:12:47 +08:00
mjbudd77 717967c4d9
Merge pull request #178 from mjbudd77/master
Added PPU Viewer Feature to Qt/SDL GUI
2020-10-05 00:42:15 -04:00
Matthew Budd 9241c33c22 Added place holder function for FCEUD_UpdatePPUView in the GTK/SDL GUI. This fixes GTK GUI build issue that occurred when Qt/SDL PPU Viewer feature was added. GTK GUI will not support the PPU Viewer feature at this time. 2020-10-04 23:42:49 -04:00
Matthew Budd 59d726230d Added logic for Qt PPU Viewer scanline entry box. 2020-10-04 23:38:10 -04:00
Matthew Budd b19c86bc10 Minor display updates to Qt PPU viewer. 2020-10-04 23:23:27 -04:00
Matthew Budd 202bbc0b15 Added logic to fill out PPU selected tile label 2020-10-04 22:44:30 -04:00
Matthew Budd ec6a6e06e7 Added logic to display sprite 8x16 on Qt PPU viewer 2020-10-04 22:07:33 -04:00
owomomo d4a8962695 Add import/export bookmarks feature to Hex Editor. 2020-10-05 10:05:27 +08:00
Matthew Budd ccb8b63282 Re-organized Qt PPU viewer to have each pattern table in its own frame. 2020-10-04 20:36:33 -04:00
owomomo e0aa1e1edc
Merge pull request #23 from TASVideos/master
Sync code to the newest
2020-10-05 07:29:50 +08:00
Matthew Budd fa55d6024b Added PPU Viewer control widgets to window. Still TODO, write logic. 2020-10-04 19:17:11 -04:00
Matthew Budd cf2b43f31a First successful viewing of pattern and palatte colors on Qt PPU Viewer. 2020-10-04 09:54:51 -04:00
Matthew Budd c21041e26e Setup initial menu options and window open for Qt GUI PPU Viewer. 2020-10-03 11:46:14 -04:00
mjbudd77 33a961d0e6
Merge pull request #177 from mjbudd77/master
Added Qt GUI Trace Logger Feature
2020-10-02 22:39:54 -04:00
Matthew Budd 896a979689 Added logic to auto open log file dialog window if file logging is checked and a start logging event occurs. 2020-10-02 22:14:00 -04:00
Matthew Budd af35f81f4f More logic updates for Qt trace logger window. Added log to file feature. 2020-10-02 21:44:47 -04:00
mjbudd77 022abb880a Added lines skipped logic for trace logger new code/data functionality. 2020-10-02 16:54:29 -04:00
mjbudd77 5bf2b65378 Added logic to display running trace log in Qt window viewport 2020-10-02 16:47:36 -04:00
Matthew Budd 0b3d377e18 Changed trace instruction logger to be more efficient. 2020-10-01 07:04:52 -04:00
Matthew Budd 2524667d12 Enabled trace instruction function. Still TODO, try to make it more efficient. 2020-10-01 06:14:35 -04:00
Matthew Budd 08da8fd76e Trace logger custom widget setup in work. 2020-09-30 22:44:56 -04:00
Matthew Budd 9da84e16ca More setup of Qt Trace Logger window. 2020-09-30 22:21:18 -04:00
Matthew Budd c288c60c68 Added initial window layout for trace logger. 2020-09-30 20:56:50 -04:00
mjbudd77 0da191bd7f
Merge pull request #176 from mjbudd77/master
Added Code/Data Logger Feature to Qt/SDL Port
2020-09-29 00:18:13 -04:00
Matthew Budd de2fd3eef3 Added Qt hex editor logic to color ROM bytes from CD Logger data. 2020-09-28 23:40:13 -04:00
Matthew Budd 92007f8467 Added CDL generated ROM functionality. 2020-09-28 22:18:25 -04:00
Matthew Budd 63933a1821 Added CDL File load/save logic. 2020-09-28 21:51:14 -04:00
Matthew Budd 445b17104a Successful initial test of Qt Code/Data Logger Window. 2020-09-28 21:23:47 -04:00
Matthew Budd 086d523566 Added initial code data logger window layout for Qt GUI. 2020-09-27 10:59:24 -04:00
Alexey 'Cluster' Avdyukhin 55e34bd0c8 Header editor bugfix 2020-09-25 20:07:07 +03:00
mjbudd77 7003f6c01a Added code to load/save debugger bookmarks in game specific debug files. 2020-09-24 06:10:48 -04:00
Matthew Budd a4b45fc252 Added symbolic debug popup window capability to hex editor. 2020-09-20 22:00:48 -04:00
Matthew Budd 97784ec09b Added quick breakpoint add via hex editor context menu. 2020-09-20 21:40:31 -04:00
Matthew Budd a458f7526b Added logic to update hex editor title with view mode and selected address included in text. 2020-09-20 21:03:41 -04:00
Matthew Budd c2ca5dc9d8 Added initial functions for hex editor quick access from debugger. 2020-09-20 17:01:40 -04:00
Matthew Budd 3099a233c3 Added debugger bookmark add/edit via ASM view context menu. 2020-09-20 16:37:41 -04:00
Matthew Budd 39a0f24445 More debugger bookmarking logic added. 2020-09-20 14:31:21 -04:00
Matthew Budd a882125224 Added logic to add,edit, and delete debugger bookmarks 2020-09-20 14:14:59 -04:00
Matthew Budd abd4089cbb Added logic to highlight ASM view selected line. 2020-09-19 14:38:10 -04:00
Matthew Budd 59e4ca1ff9 Added logic to init IDA font checkbox to checked and keep unselectable. I am forcing the font in the Qt debugger assembly view to be a monospace Courier New. For now I plan to keep it this way. 2020-09-18 06:18:09 -04:00
Matthew Budd dad6ddfe64 Added Qt debugger auto open on game load feature. 2020-09-18 06:00:19 -04:00
Matthew Budd e70eb49bf9 Added logic for ASM view horizontal scroll. Set debugger bookmark buttons to insensitive until code can be added. 2020-09-17 22:59:56 -04:00
Matthew Budd b319273765 Added logic for auto debug file load/save checkbox option. 2020-09-17 21:54:47 -04:00
Matthew Budd 90e67b4ebb Added logic to selectively load/save breakpoint data from/to files only if a debugger window is open. 2020-09-17 20:44:33 -04:00
Matthew Budd 63dbda4b35 Added logic to load/save breakpoint data into game specific files. 2020-09-16 21:02:43 -04:00
Matthew Budd c62dfd464f Updates to debug symbol loader. 2020-09-15 22:53:36 -04:00
Matthew Budd b37fb45172 Added symbolic debug edit window logic. 2020-09-15 21:32:54 -04:00
Matthew Budd cef4ad4e1d Added logic for breakpoint tree view enable checkbox. 2020-09-15 20:11:17 -04:00
Matthew Budd d5b6c28df6 Added logic to save game debug symbols when closed. 2020-09-15 19:53:47 -04:00
Matthew Budd ced49bebc7 Added logic for debug window reload symbols button. 2020-09-14 21:42:10 -04:00
Matthew Budd 097aaa3214 Hooked up symbolic debug asm view checkbox. 2020-09-14 21:18:54 -04:00
Matthew Budd a4df1e3c06 Added logic to load debug symbols from files. 2020-09-14 21:08:38 -04:00
Matthew Budd f442404149 Added initial framework for symbolic debug feature in Qt port. 2020-09-13 21:43:50 -04:00
Matthew Budd d1f689ef61 Minor updates to Qt breakpoint add/edit and display functionality. 2020-09-12 09:31:24 -04:00
Matthew Budd bb29b73af5 Added initial framework for Qt debug window's asm view context menu. 2020-09-12 08:53:51 -04:00
Matthew Budd 1a05b2d7d0 Added ASM view cursor position label logic to Qt debug window. 2020-09-11 22:56:04 -04:00
Matthew Budd fc81335cc0 Added a emulator status label to debugger window. 2020-09-11 21:26:40 -04:00
Matthew Budd 6b79d20037 Added logic to set flags register when resuming from a breakpoint. 2020-09-11 20:29:45 -04:00
Matthew Budd 823e7948c0 Debug window breakpoint highlighting when hit in work. 2020-09-09 23:13:53 -04:00
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
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
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
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
Matthew Budd 75b076f256 Added a couple more key bindings to hex editor cursor control. 2020-08-20 22:44:14 -04:00
Matthew Budd f6afca360f Added hex editor X,Y cursor movement via arrow keys. 2020-08-20 22:34:45 -04:00
Matthew Budd 5f57455de7 Cursor positioning logic in work. 2020-08-20 22:28:02 -04:00
Matthew Budd 65f6b06033 Added ascii output to hex editor. 2020-08-20 21:47:21 -04:00
Matthew Budd b23349e870 Added vertical slider logic. 2020-08-20 21:21:48 -04:00
Matthew Budd b6b2038c96 Added initial framework for hex editor menu. 2020-08-20 20:41:38 -04:00
Matthew Budd 12f27d2158 Moved hex text editor into its own widget QHexEdit 2020-08-20 20:22:24 -04:00
Matthew Budd 9b90d2d684 Updated Hex editor fore/back ground color schemes to use dark background and light foreground text. 2020-08-19 23:05:01 -04:00
Matthew Budd 09ec672597 Changed approach to Qt hex editor to use raw painting of text. 2020-08-19 22:27:42 -04:00
Matthew Budd 466e513778 QHexEdit did not meet performance goals. Removing to try other options. 2020-08-18 22:19:53 -04:00