Commit Graph

3086 Commits

Author SHA1 Message Date
Alexey 'Cluster' Avdyukhin ddf3fb631e Refactored loader code for better error messages 2020-12-21 02:19:48 +03:00
Alexey 'Cluster' Avdyukhin ed4d1a7217 Minor refactoring, unreachable code removed 2020-12-21 00:36:08 +03:00
Alexey 'Cluster' Avdyukhin 395af9d283 Issue #264 fix (mapper 256 support) 2020-12-20 19:40:36 +03:00
owomomo 6e0a5a391b
Fix Issue #88 (#266)
* Trying to fix Issue #88.
* Fix a grammar mistake.
* Add single comment without name with symbol naming dialog.
2020-12-19 12:31:30 +03:00
zeromus f08b853f19 update aboutbox a bit 2020-12-18 19:42:40 -05:00
mjbudd77 2e4fae6de6 Added more button and menu icons to Qt GUI. 2020-12-13 21:45:39 -05:00
mjbudd77 6f78a086d2 Added more button icons to Qt gui game pad and palette config windows. 2020-12-13 17:48:51 -05:00
mjbudd77 380fc72917 Added a few more menu icons to Qt gui. 2020-12-13 15:24:48 -05:00
mjbudd77 58624be83b Added a few more icons to Qt GUI menu. 2020-12-13 15:02:23 -05:00
mjbudd77 af8c63fcc2 Added a few standard icons to menu entries and buttons in Qt GUI. 2020-12-13 14:51:04 -05:00
mjbudd77 35720a78ce Added logic and necessary functions to SDL port for new Lua emu.exit() function. 2020-12-12 06:59:07 -05:00
Alexey 'Cluster' Avdyukhin 3bab27ff76 Added emu.exit() function to Lua, added description to fceux.chm about it 2020-12-12 13:38:11 +03:00
mjbudd77 108b817c70 Bug fix for numeric version code. Set correctly for upcoming new release 2.3.0 2020-12-11 16:05:00 -05:00
mjbudd77 9e781da116 Removed unused/deprecated scons and automake build files from project. SDL uses cmake now and its never going back. 2020-12-10 21:55:38 -05:00
mjbudd77 fb965bbee0 Updated source and build script version references in preparation for new release. Updated SDL web documentation. Removed a few deprecated command line arguments from code and help text. Removed last few references to GTK in Qt GUI. 2020-12-10 21:43:50 -05:00
Matthew Budd 03390b4d89 Added logic to always attempt to resolve the absolute path to the ROM file when loading a new game. 2020-12-09 21:48:17 -05:00
Matthew Budd 9e6c963733 Removed debug print statements from Qt debugger 2020-12-08 22:14:54 -05:00
Matthew Budd 90f122ef82 Added context menu to trace logger viewport. Through this menu, debug symbols and breakpoints can be set for the selected hex address in the viewport. 2020-12-08 21:46:21 -05:00
Matthew Budd accc476623 Cleaned up a couple cppcheck warnings in Qt GUI. 2020-12-07 22:34:05 -05:00
Matthew Budd fbf8fe6eb5 Added logic to allow for copy/paste of trace logger viewport to/from clipboard. 2020-12-07 22:04:36 -05:00
Matthew Budd 561f258770 Qt debugger breakpoint highlight bug fixes. 2020-12-07 20:12:34 -05:00
mjbudd77 afaea86abd Added a frame timing statistics window to the Qt tools. Allows user to enable frame timing statistical calculations and view the output on a window in realtime. Is used to verify emulator is getting the proper clock interrupts from the OS and thus check that emulation timing is deterministic. 2020-11-30 22:29:51 -05:00
Matthew Budd 4f08d7a8cc Added message log viewer window to the Qt GUI. 2020-11-29 20:11:28 -05:00
Matthew Budd 3ae463d1f2 Bug fix for Qt GUI crashing when to load a non-existant ROM via the command line. 2020-11-29 00:04:20 -05:00
Matthew Budd ca005b498b Bug fix for cmake pkg-config search for lua 5.1 package. Ubuntu packages this as lua5.1 and Fedora names it lua-5.1. Changed cmake file to use pkg_search_module to search for both package names and use the first one it finds. 2020-11-28 23:28:35 -05:00
Matthew Budd 4decd24bcd Build fix for __THROWNL not being defined on libc that is used by Alpine Linux 2020-11-28 22:38:57 -05:00
Matthew Budd d13c151817 Default Qt GUI Timing statistics calcutions to off. TODO make timing stats enable via GUI. 2020-11-28 22:05:39 -05:00
Matthew Budd 35e0bc441f Removed debug print statement. 2020-11-28 21:55:55 -05:00
Matthew Budd 4812c804fd Added timing options selection combo box to timing window on Qt GUI. 2020-11-28 21:46:41 -05:00
Matthew Budd f198996cd4 Added logic to auto set process scheduling priorities at startup. 2020-11-28 21:03:26 -05:00
Matthew Budd 961aa83a51 Bug fixes for Qt timing priority configs. 2020-11-28 20:43:34 -05:00
Matthew Budd 18e9dc1a9e Added logic to check whether the user has the permissions necessary to increase the priority (nice) of the process. If not, disable the slider on the Qt timing window. 2020-11-28 15:40:27 -05:00
Matthew Budd e67b17795c Added scheduler config parameters to Qt GUI. 2020-11-28 00:28:28 -05:00
mjbudd77 ab31c760d5 Build fix for mac os 2020-11-27 23:48:57 -05:00
Matthew Budd d5d6b32787 Added GUI scheduling parameters to Qt timing config window 2020-11-27 23:42:32 -05:00
Matthew Budd e154b38327 Qt Timing config window bug fixes for cases when OS does not have proper permissions. 2020-11-27 23:04:41 -05:00
Matthew Budd 6b8e4f883b Initial add of timing configuration window to Qt GUI. 2020-11-27 22:18:04 -05:00
Matthew Budd 8d0de7793a Merge branch 'development' of https://github.com/mjbudd77/fceux into development 2020-11-27 19:56:31 -05:00
mjbudd77 a7b031ee81 Qt GUI thread priority functionality added for mac os 2020-11-27 19:53:14 -05:00
Matthew Budd 3982d1b897 CAdded 2020-11-27 14:23:17 -05:00
Matthew Budd 2b05c7169d Initial add of logic to allow for high priority threads in Qt GUI. Modified speed throttle logic to have more accurate frame timing. 2020-11-26 23:44:59 -05:00
Matthew Budd 16af95771d Build fix for linux appveyor pipeline. Ensure OS package updates are pulled in from server before attempting to pull dependencies. 2020-11-24 20:32:41 -05:00
Matthew Budd 14766432ae Added periodic checking logic to ensure that gamepad 4 score checkboxes on input and gamepad config windows stay synchronized. 2020-11-24 19:46:22 -05:00
Matthew Budd c9d0eddec6 For Qt GUI, added a checkbox to allow for auto load/save of input presets on ROM open/close. 2020-11-24 16:22:09 -05:00
Matthew Budd fa18154ac3 Added a low rate periodic update function to Qt input window to ensure that it stays synchronized with the state of the emulator input settings. 2020-11-24 07:01:34 -05:00
Matthew Budd c4a066c25c Qt Input config window further code hardening. 2020-11-24 06:25:12 -05:00
Matthew Budd 85cee7fd4a Added load/save input preset file logic for Qt GUI. 2020-11-23 22:16:52 -05:00
Matthew Budd f541822557 Qt input preset configs in work. 2020-11-23 16:22:01 -05:00
Matthew Budd adce35cc58 Added input preset configuration scheme for Qt GUI. 2020-11-23 16:09:11 -05:00
Matthew Budd 396029743a Added input device selection/configuration window for Qt GUI. Still TODO, button config windows for non-gamepad devices. 2020-11-23 13:50:26 -05:00
Matthew Budd 30b3a92c38 Corrections for zapper emulation via mouse using Qt GUI. 2020-11-21 14:15:36 -05:00
Matthew Budd 6ac1d9e171 Removed a comment that is no longer valid. 2020-11-19 20:43:25 -05:00
Matthew Budd b1c0f7aaba Added ROM edit undo functionality to Qt hex editor. 2020-11-19 20:35:44 -05:00
mjbudd77 5cbfb8b1a5 Added a text highlight clear function and now clear when hex editor view mode changes. 2020-11-17 00:06:10 -05:00
mjbudd77 7127b858e1 Added find pattern functionality to Qt hex editor. 2020-11-16 23:35:33 -05:00
mjbudd77 4968e50202 Added copy/paste functionality for Qt hex editor. 2020-11-16 21:26:53 -05:00
Matthew Budd 5e35c181c8 Qt debugger slight change in main menu entry 'Run to Cursor' is now 'Run to Selected Line'. Run to Cursor option is still present in assembly viewer context menu. 2020-11-15 18:55:03 -05:00
Matthew Budd 386f943140 For Qt debugger, added a run to cursor menu shortcut key. 2020-11-15 14:47:57 -05:00
Matthew Budd 8629e19273 Added PC line placement options for Qt debugger assembly viewer. Old behavior was to always to display program counter line at the top of the viewer when a breakpoint is hit. Now that behavior is selectable to be top, upper-mid, center, lower-mid, bottom, or custom line offset. 2020-11-15 14:30:38 -05:00
Matthew Budd d3b779a4e3 Added a run to cursor debugger feature to Qt debugger window assembly view context menu. 2020-11-15 11:57:43 -05:00
Matthew Budd 13ea28dad4 Added window menu to Qt debugger and shortcuts for debug execution control buttons. 2020-11-14 14:56:57 -05:00
Matthew Budd 0d6f5e567e Minor changes to Qt debugger window to allow for it to be more compact. 2020-11-14 14:35:11 -05:00
Matthew Budd e36f53609e Added logic to clear QClipboard contents at program exit. This will prevent a momentary terminal X11 hang and following error message "QClipboard: Unable to receive an event from the clipboard manager in a reasonable time" 2020-11-14 14:01:23 -05:00
Matthew Budd 2ce2e5a8a3 Fixed wheel event scroll direction for custom QWidgets 2020-11-14 13:42:43 -05:00
Matthew Budd c5cdd77fb1 For Qt, added mouse wheel scrolling logic to all custom QWidgets (Debugger Assembly Viewer, Trace Log Viewer, Hex Editor, and RAM Search Viewer) 2020-11-14 09:24:10 -05:00
Matthew Budd 43f87541b6 Added mouse wheel scrolling capability for Qt debugger ASM viewer. 2020-11-13 13:31:04 -05:00
Matthew Budd bfa70c1f25 Bug fix for Qt debugger attempting to save symbol/bookmarks at window close with no game loaded. 2020-11-13 11:47:55 -05:00
Matthew Budd 836127afd0 Changed Qt debugger ASM viewer to render text a single character at a time to have better control of horizontal char advance. Mac OS seems to not always draw characters with the same spacing if not done this way. 2020-11-13 11:27:55 -05:00
mjbudd77 58a1d76e2c Changed shared memory allocation to a standard malloc to prevent crash
on systems that do not allow large shm sizes.
2020-11-13 11:17:35 -05:00
Matthew Budd 7dab1976f6 Added text copy/paste functionality via Qt clipboard to Qt debugger ASM viewer. 2020-11-13 10:44:09 -05:00
Matthew Budd 242620b782 Added logic to allow for symbol names to be clicked in Qt debugger ASM viewer. 2020-11-12 20:48:52 -05:00
Matthew Budd c8f0649223 Bug fix for Qt Code Data Logger auto resume function. 2020-11-11 21:25:53 -05:00
Matthew Budd 3ca86a1748 Added new mapper to cmakelist for SDL build. 2020-11-11 20:19:56 -05:00
Matthew Budd b3b46adcd5 Merge branch 'master' of https://github.com/TASVideos/fceux into development 2020-11-11 20:17:53 -05:00
Matthew Budd 4c94acf68a Added video special scaler functionality to Qt GUI. 2020-11-11 20:14:00 -05:00
g0me3 452fdfa5a3 new UNIF mappers for chinese dumps 2020-11-11 19:18:31 +03:00
Matthew Budd 0b5c73bd23 Removed inline from cheat functions to allow them to properly link in Qt/SDL executable. 2020-11-10 21:57:58 -05:00
Matthew Budd d60a00caeb Further improvements to Qt symbolic debugging. 2020-11-10 21:52:38 -05:00
Matthew Budd 90911ff17e Added RAM freeze feature to Qt hex editor. 2020-11-10 20:19:49 -05:00
Matthew Budd 889f74b5c8 Added Qt debugger assembly context menu shortcut key functionality. 2020-11-09 20:14:16 -05:00
Matthew Budd 3023ab7d50 Changed Qt debugger asssembly window address selection logic to allow for any valid hex address on the display to be selected. Previously was only allowing the instruction address at the beginning of the line to be selected. 2020-11-09 20:02:06 -05:00
Matthew Budd 49ab65bcc9 Changed debugger breakpoint/symbol add/edit windows to have the OK button as the default widget that is activated when the enter key is pressed. 2020-11-08 23:20:18 -05:00
Matthew Budd 92ccbd8a49 Changed Qt GUI hot key logic to allow for hot key bindings to include the use of modifier keys (Shift,Alt,Ctrl) to form key sequences instead of just being limited to single key bindings. 2020-11-08 22:57:28 -05:00
Matthew Budd 2fa810d1ad Added logic to Qt GUI to allow for frame advance usage when at a debugger breakpoint. 2020-11-08 19:52:15 -05:00
Matthew Budd 8adcc1a699 Added Game Genie encode/decode window to Qt GUI. 2020-11-08 15:42:48 -05:00
Matthew Budd 3c2c039f3a Added custom style sheet usage comment to command line help for Qt GUI. 2020-11-07 15:06:07 -05:00
Matthew Budd e38793f352 Added Qt style command line options to help printout. 2020-11-07 14:44:07 -05:00
Matthew Budd f4da749a44 Added logic to Qt trace logger and ram search to change fore/background color scheme based on style theme. 2020-11-07 14:19:22 -05:00
Matthew Budd e42232777e Successful integration of Qt movie play window. 2020-11-07 13:32:40 -05:00
Matthew Budd 018204089a Qt Movie play window updates. 2020-11-07 00:08:51 -05:00
Matthew Budd 412ca246c7 Successful loading of a movie from the movie play window. Styling update for debugger window for dark themes. 2020-11-06 23:45:39 -05:00
Matthew Budd bbb878c20d Qt Movie Play dialog window in work. 2020-11-05 07:03:32 -05:00
Matthew Budd 4314ccbfc3 Movie play window for Qt GUI in work. 2020-11-05 06:49:50 -05:00
Matthew Budd 9bc07b8c2c Ported over another missing fix to the Qt iNES header editor from the windows version. 2020-11-05 06:02:30 -05:00
Matthew Budd fe5953a205 Added movie load full save state checkbox comment to Qt GUI. 2020-11-05 05:57:30 -05:00
Matthew Budd fc1ce9da85 Build fix for GTK GUI, re-declaration of an external symbol of a different type is a dangerous thing. 2020-11-05 05:45:18 -05:00
Matthew Budd d8d696e1a1 Added movie options dialog window to Qt GUI. 2020-11-05 05:24:21 -05:00
Matthew Budd feff0f79c3 Added a config parameter to Qt GUI to store movie directory path. 2020-11-04 06:39:16 -05:00
Matthew Budd 6672e53098 Ported over recent iNES header editor mapper decoding fix from windows to Qt. 2020-11-03 18:12:26 -05:00
Alexey 'Cluster' Avdyukhin 7e38d08bdb Fixed header editor bug, mappers>255 support were totally broken 2020-11-03 15:29:30 +03:00
Matthew Budd e72cc4d0d5 Bug fix for issue #217. The Qt hex editor memory reads are now synchronized with emulation thread execution. This ensures that calls to GetMem will not improperly interfere with certain memory mapped registers while the emulation thread is executing. Reading at an inappropriate time from controller registers mapped at addresses $4016 and $4017 can cause the emulator to miss button presses. Thread synchronization fixes this. 2020-11-03 06:36:30 -05:00
Matthew Budd 87b6368956 Changed the lua emu.loadrom function to have a string return value containing the path to the currently loaded ROM. The old function had no return value. This return value allows for the user to determine what game was loaded since the function behavior is to try to reload the last known ROM if the passed argument cannot be loaded. 2020-11-01 21:45:36 -05:00
Matthew Budd 9f10a1fb20 First successful test of Qt iNES header editor. 2020-11-01 21:18:08 -05:00
Matthew Budd bcef387bb0 Added logic to open file if a ROM is not currently loaded when opening the iNES header editor. 2020-11-01 20:04:21 -05:00
Matthew Budd 1055294895 Qt iNES header editor in work. 2020-11-01 19:02:30 -05:00
Matthew Budd b04938901f Qt iNES header editor in work. 2020-11-01 16:43:09 -05:00
Matthew Budd ef8c426549 Merge branch 'master' into development 2020-11-01 15:39:48 -05:00
Matthew Budd 3f4d8898a0 Changed Family Keyboard enable toggle logic to by a configurable hot key instead of the hardcoded scroll lock key. Fixes issue #214. 2020-10-31 20:38:44 -04:00
Matthew Budd 22f47c43c6 Merge branch 'master' of https://github.com/mjbudd77/fceux 2020-10-31 16:27:10 -04:00
Matthew Budd 5c29bdbd8d Lua scripting pathing improvements for Linux/MacOS. Use realpath when possible to always have a absolute path for scripts and roms internally. 2020-10-31 16:25:29 -04:00
mjbudd77 ddb879b21a Build fix for MacOS. 2020-10-31 16:12:40 -04:00
Matthew Budd 0cca02e765 Bug fix for issue #215. MacOS was not changing the current working directory to the lua script location when loading a lua script. 2020-10-31 16:08:22 -04:00
Matthew Budd ec875b9357 Changed Lua console message buffer to allow for strings that are much longer than 256 characters. 2020-10-31 16:01:15 -04:00
mjbudd77 5d6cda446a Compile fix for macOS. 2020-10-31 12:40:31 -04:00
Matthew Budd 939e2ae27e Added logic to direct lua script error messages to the output console window. Fixed crash issue described in issue #216. Crash was due to Qt GUI functions being used in the emulator thread. Only the main GUI thread is allowed to call Qt GUI functions. 2020-10-31 12:24:52 -04:00
Matthew Budd 91f035fbf2 Qt iNES header editor in work. 2020-10-29 22:06:49 -04:00
Brian Heim 2480ee81d4 cmake: use macdeployqt instead of fixup_bundle to deploy on macOS
remove unused variable - bundle generator vars are unused by dragndrop

see comments for more info
2020-10-29 09:35:08 -05:00
Matthew Budd 461d3f88cd Added initial framework for Qt iNES header editor window. 2020-10-28 23:25:32 -04:00
Matthew Budd 58407e4ac3 Removed old comment block from Qt Trace logger. 2020-10-28 20:39:53 -04:00
Matthew Budd 130547fa89 Added symbolic debug replacement functionality during disassembly on Qt trace logger. 2020-10-28 20:37:39 -04:00
Matthew Budd cde409dece Added a disassembly with debug symbols function that replaces numeric addresses with text symbol names during the disassembly process. This allows for the symbol maps to be keyed into directly with an integer value and is more efficient that the text search replace algorithm. Currently the Qt debugger window is the only window that uses this function. The trace logger will be next. 2020-10-28 20:22:40 -04:00
Matthew Budd 82b5de3880 Restored Qt Gamepad config window to be modal. 2020-10-28 17:55:09 -04:00
Matthew Budd 86a12c96f9 Changed all debug and tools windows to be non-modal top level windows. This allows then to be minimized and maximized via the title bar buttons and will also show in the task bar of the window environment as separate windows. 2020-10-27 22:26:58 -04:00
Matthew Budd 02dbc9e42d Added a scrollable area to the Qt gamepad config dialog window that will show anytime the window is not large enough to display full widget content. The scrollable area will act as a viewport into the larger widget layout from within the smaller dialog window. Again, it will only show the scroll bars if the window is not large enough. This will allow for the window to be fully viewable on smaller monitors such as the 1024x768 monitor in issue #208. 2020-10-27 20:22:25 -04:00
Matthew Budd 81cbabbf1f For Qt, added logic to allow for auto video scaling on window resize to be optional. An 'Auto scale on resize' checkbox has been added to the video config window. When this box is checked (and applied) the window will always auto rescale the video image to a best fit on a resize. If not checked, window will use the specified numerical scale values as a maximum scaling limit. This means that the window will allow scaling the image down if the window is not large enough to fit image at the requested scale, but will never scale the image up past the request scale. So if the window is at a large size and the requested scale is small, the result will be a small video image on a big window with a lot of black space. This is for issue #205. 2020-10-27 07:00:43 -04:00
Matthew Budd 8f336bf8d3 Added logic to the Qt GUI Video Config Window to allow for the image pixel scaling to be numerically set. Also added a square pixel option to allow for the X and Y scales to either be set separately or tied together. This addresses issue #205. 2020-10-26 20:53:36 -04:00
Matthew Budd 2c7c87e3c8 Deleted unused icon file. 2020-10-26 17:28:11 -04:00
Matthew Budd bd440682fd Bug fix for Qt GUI full screen command line switch. 2020-10-25 18:55:16 -04:00
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