Commit Graph

4973 Commits

Author SHA1 Message Date
mjbudd77 c107de92cd Cleanup code data logger allocated memory at application close. 2021-02-21 10:48:06 -05:00
mjbudd77 2a2e1b7bca Re-added code to free allocated video memory at application close. Free Qt NES wrapper memory at application close. 2021-02-21 10:39:21 -05:00
mjbudd77 b8e647fbc6 Fixed segmentation fault when offsetStringToInt is called without a loaded ROM. 2021-02-20 18:40:48 -05:00
mjbudd77 7dc77269b5 Added close buttons to Qt GUI config and tools windows. Debug windows still to be evaluated. Only exceptions are when the window has a menu bar with a file -> close option. 2021-02-20 06:57:25 -05:00
mjbudd77 e6754c87ba Added a recent ROMs sub menu to the Qt main menu. 2021-02-19 20:46:27 -05:00
mjbudd77 67fb5263cc Added a few context menu accelerators to debugger, hex editor, ppu viewer, and name table viewer Qt windows. 2021-02-19 00:15:23 -05:00
mjbudd77 350f7fa468 More QFileDialog show()/exec() fixes. #332 2021-02-18 23:28:31 -05:00
mjbudd77 5eb79dcf9d Removed all redundant QFileDialog calls to show() when exec() is already being called. The show() function is a non-blocking call to create a dialog window. exec() is a blocking call and is required to use the native windows file browser. Since all the file dialog callback functions are designed to be blocking anyway, the show() calls really shouldn't be there anyway. This fixes part of #332. 2021-02-18 23:14:31 -05:00
mjbudd77 5f46fd098f Added a refresh rate submenu under View in the Qt hex editor that allows for setting the update rate to the following values in Hz: 5, 10, 20, 30, and 60 (for those with super human eye-to-brain processing times). 2021-02-18 22:28:59 -05:00
mjbudd77 41c9125788 Added logic to Qt hex editor to force a redraw event when keyboard or mouse events that effect the cursor occur. 2021-02-18 22:04:13 -05:00
mjbudd77 90d31dadca Added logic to Qt hex editor to set minimum line width to full line length at construction. Part of #322. 2021-02-18 21:48:57 -05:00
mjbudd77 ea97709f85 Set minimum debugger assembly viewport width at construction to avoid window resizing when upon initial load of assembly text. Part of #322. 2021-02-18 21:29:55 -05:00
mjbudd77 86ffdcee3a Removed calls to old text console based cheat menu in favor of Qt GUI cheat menu. Default hot key for opening the cheat menu is F1 and was crashing when trying to bring up text cheat console. Qt window does not have this issue. Fixes part of #332. 2021-02-18 20:13:05 -05:00
mjbudd77 32e897479c Bug fix for hex editor crashing when changing view to PPU or ROM with no game loaded. Fixes part of #332. 2021-02-18 19:56:19 -05:00
mjbudd77 e7e6aac71d Merge branch 'master' of github.com:TASVideos/fceux 2021-02-17 21:35:07 -05:00
mjbudd77 aefb834552 Auto Reformat Qt RamSearch.cpp. 2021-02-17 21:27:03 -05:00
mjbudd77 67752c1ea2 Minor performance improvements to Qt Ram Search window. 2021-02-17 21:22:25 -05:00
zeromus 4c3d727ad0 fix for rare crash 2021-02-17 20:42:08 -05:00
mjbudd77 14b07ab5f2 Added a link to online documentation in the Qt GUI help menu. 2021-02-16 22:16:05 -05:00
mjbudd77 7e3086d92c Added more accelerators for Qt menu items. 2021-02-16 21:44:47 -05:00
mjbudd77 08df12db74 Bug fix for Qt GUI main menu permanently hi-jacking input focus when using menu accelerators. 2021-02-15 10:08:03 -05:00
mjbudd77 049f1017d4 For Qt GUI, fixed thread timing bug in rapid autofire pattern. Also, added hooks to make the autofire pattern number of on/off frames configurable. Minor indentation fixes in code. 2021-02-15 08:43:14 -05:00
mjbudd77 e8bd912830 For Qt GUI, added logic to gray out timing statistics when not enabled. Makes it more obvious for user to realize that the calculations are not active until the enable button is hit. 2021-02-14 15:08:41 -05:00
mjbudd77 0768579faa Palette file pathing fixes for Qt GUI. 2021-02-14 12:02:24 -05:00
mjbudd77 df315f8e9c Added QFileDialog urls for lua load window. 2021-02-14 11:16:39 -05:00
mjbudd77 769ab81027 Setup QFileDialog side urls for various windows. 2021-02-14 10:53:21 -05:00
mjbudd77 a5a0a5edee Added a function that returns the executable file path. Added this path to the list of urls to search for palette files. 2021-02-14 09:37:04 -05:00
mjbudd77 3556c1cbfc Added sidebar urls to Qt palette open file browser. 2021-02-14 07:10:34 -05:00
mjbudd77 bf00cb62ca Added logic to also look for $USERPROFILE env var on windows systems. 2021-02-14 06:35:25 -05:00
mjbudd77 15b983fc76 Added logic to make Qt GUI search for $HOMEPATH in the event that $HOME is not defined (for Windows). 2021-02-14 06:20:16 -05:00
mjbudd77 5d0c9b2225 Added button icons to the bottom row of the Qt iNES header editor. 2021-02-14 05:55:57 -05:00
mjbudd77 b98feca574 Added standard core about text into Qt About Fceux Window. 2021-02-14 05:27:36 -05:00
mjbudd77 c3473dbf4d Made one full pass over all Qt window menus and added accelerators where it makes sense. 2021-02-14 05:09:44 -05:00
mjbudd77 58c3081176 Added ALT+F accelerator for Qt main menu. 2021-02-13 20:16:51 -05:00
mjbudd77 bff4dd4d93 Removed scroll bars from Qt game pad window as its new layout makes it unnecessary. 2021-02-13 20:10:20 -05:00
mjbudd77 5abdc4a50e Added an game pad graphic on the Qt game pad config page with buttons that change color when pressed. 2021-02-13 16:36:59 -05:00
mjbudd77 1ced2f59b9 Added logic to Qt nametable viewer to not render tiles that are not in view. Also subbanded table rendering into separate frames to increase performance. 2021-02-12 21:07:24 -05:00
mjbudd77 04bd1ffcf6 Added a function to pre-calculate pixel locations for the nametable viewer in order to save computation time during Qt paint events. 2021-02-12 18:51:04 -05:00
mjbudd77 97990b671a Merge branch 'master' of github.com:TASVideos/fceux 2021-02-11 20:48:17 -05:00
mjbudd77 f80214da90 Added code to allow for setting of thread priorities in windows for Qt GUI. 2021-02-11 20:24:10 -05:00
mjbudd77 1a622b5f30 Bug fix for Qt GUI message log in windows. 2021-02-11 18:09:48 -05:00
g0me3 56adae5e6c fixed copypaste bug in cdlogger introduced in #310 merge
(cdl auto load were broken, an error occures while attempting to save changes to cdl window settings)
2021-02-10 20:09:27 +03:00
mjbudd77 97c8c591bd Added download links for packaged Win64 Qt/SDL application built on appveyor. 2021-02-09 23:04:40 -05:00
mjbudd77 a562da6db3 Merge remote-tracking branch 'mjbudd77/Qt_WinBuild' 2021-02-09 22:32:57 -05:00
mjbudd77 6b4c5c1c1b Added logic to look for the HOMEPATH env var if HOME is undefined. 2021-02-09 22:22:19 -05:00
mjbudd77 b8a5db5580 Build fix for Qt/SDL default input settings. Use SDLK_ macros directly to ensure there is not a conflict. 2021-02-10 03:07:41 -05:00
mjbudd77 43a9d7a411 Changed windows Qt/SDL appveyor job name so that it does not contain / char. 2021-02-09 21:03:57 -05:00
mjbudd77 ea8fbbf774 Removed unnecessary headers from nes_shm.cpp. 2021-02-09 20:30:47 -05:00
mjbudd77 deea77a30b Merge remote-tracking branch 'TasVideos/master' into Qt_WinBuild 2021-02-09 19:56:49 -05:00
mjbudd77 2a66f25c7a Upgraded MSVC platform toolset to use v142. Added __WIN_DRIVER__ preprocessor definition to project to ensure that it is set for all compiled files for original non-Qt based GUI. 2021-02-09 19:50:57 -05:00