Commit Graph

4919 Commits

Author SHA1 Message Date
mjbudd77 c2c76de841 Reverted Qt windows build to use Qt 5.15 instead of Qt 6.0. Qt6 needs a little more time to stablize. 2021-05-23 06:32:29 -04:00
mjbudd77 af1fe48655 Fixed clip sides image distortion issue for SDL video driver by forcing re-build of video textures when applying the change. 2021-05-23 06:30:05 -04:00
mjbudd77 20a691e608 Changed Qt GUI to use FCEU core autofire pattern logic instead of attempting to calculate its own. 2021-05-21 06:28:14 -04:00
mjbudd77 596c27ea5e Changed autofire algorithm to not require using a static array. Now just does an on/off frame calculation based on where it is in the overall duty cycle of the square wave. 2021-05-21 06:27:35 -04:00
mjbudd77 092fc97078 Changed sound volume config settings to init to the proper 255 max (not 256). 2021-05-19 22:28:50 -04:00
mjbudd77 d3f25269c8 Re-send aspect ratio settings to viewer when changing video driver. 2021-05-19 22:16:04 -04:00
mjbudd77 4eb7543838 Bug fix for SDL video not initializing correctly. 2021-05-19 21:25:50 -04:00
mjbudd77 e8573b79bc Added openGL extension checks for GL_ARB_texture_rectangle and GL_ARB_texture_non_power_of_two. Default to GL_TEXTURE_2D if GL_TEXTURE_RECTANGLE is not available. Force power of 2 size for texture width and height if non-power of two externsion is not available. 2021-05-19 21:16:03 -04:00
mjbudd77 4ff17bcb8e Set auto-resume QAction using a cleaner method. 2021-05-18 21:29:22 -04:00
mjbudd77 009733be8a Bug fix for initialization of Auto-Resume checkbox state at Qt GUI startup. 2021-05-18 21:25:20 -04:00
mjbudd77 a5cd18fe30 Minor code cleanup for readability. 2021-05-18 20:41:33 -04:00
mjbudd77 d01c019f11 Memory leak fix in video blit cleanup. 2021-05-18 20:41:14 -04:00
mjbudd77 6d54990580 Updated version to 2.4.0 in anticipation of upcoming release. 2021-05-18 20:19:56 -04:00
mjbudd77 d36a4b058b cppcheck warning fix for realloc return value handling. 2021-05-18 20:01:35 -04:00
mbudd02 91a45a216c cppcheck fixes. 2021-05-18 18:21:29 -04:00
mjbudd77 16bec45063 Increased max string sizes for load lua file dialog directory pathing for Qt GUI. Just incase users have long directory paths, set max path size to 2048 bytes. 2021-05-18 06:25:20 -04:00
mjbudd77 eae4dd8312 Added a minimum column pixel width to ensure that at least 6 characters can be displayed on name table viewer text fields. 2021-05-17 21:16:56 -04:00
mjbudd77 e60abba722 Set title for palette color selection window. Disabled unused context menu. 2021-05-16 15:25:21 -04:00
mjbudd77 c9c7a5105e Added palette color copy to clipboard functionality for Qt PPU viewer window. 2021-05-16 15:20:20 -04:00
mjbudd77 c1944fa25a Added active nametable and sprite palette export to ACT format option for Qt GUI. 2021-05-16 14:41:57 -04:00
mjbudd77 31608a5c6d Added logic to further ensure that changes to emulation video settings force an settings change on the Qt console viewer. 2021-05-15 07:03:53 -04:00
mjbudd77 6fda3ca0b3 Initialization fix for some of the Qt video settings at startup. 2021-05-14 22:22:30 -04:00
mjbudd77 8f245c9332 Changed Qt GUI screen shot function to use Qt image capture of the actual video viewport so that a higher resolution image that has the effects of the aspect ratio and scaler video selections in it. 2021-05-14 21:30:28 -04:00
mjbudd77 2f37a95e75 Added an nes palette export as adobe color table feature to Qt GUI. 2021-05-14 20:18:09 -04:00
mjbudd77 25d1002648 Updates to SDL README files. 2021-05-13 18:46:17 -04:00
mjbudd77 eab121801e Entry field improvements on Qt Debugger window. 2021-05-12 20:38:12 -04:00
mjbudd77 15a6584685 Further fixes for entry boxes in Qt Cheat Window. 2021-05-12 20:16:38 -04:00
sleepingkirby 884bf21d4d
For Qt version: Cheat codes with addresses ending in '0' are getting truncated. This … (#350)
* Cheat codes with addresses ending in '0' are getting truncated. This is due to the masking at line 141 (cheatAddrEntry->setInputMask( ">HHHH;0" );) combined with
cheatAddrEntry->displayText() on 860/934.
As per: https://doc.qt.io/qt-5/qlineedit.html#inputMask-prop

"When an input mask is set, the text() method returns a modified copy of the line edit content where all the blank characters have been removed.
The unmodified content can be read using displayText()."

So an address of "00B0" is returning as just "B"(as the mask as determined that 0 is a blank character. Which is what you want for an empty input
 field to have all 0;s.), which, when entered as an address, is just 0x000B. Fixing that by replacing text() with displayText() as
per documentation.

* same issue with cheatAddrEntry->text() exists with cheatValEntry->text(). Replacing those with displayText() as well
2021-05-12 19:30:08 -04:00
mjbudd77 e9a85d2e1c Ported FDS CDL fix to Qt GUI from win32. 2021-05-11 21:57:58 -04:00
mjbudd77 9b55e0a579 Added a color selection box on the palette editor to make it more obvious which box is being edited. 2021-05-11 20:10:17 -04:00
mjbudd77 f19016011e Bug fix for palette reset function on PPU viewer. 2021-05-10 20:00:00 -04:00
mjbudd77 3b81ff141f Added a palette color picker for changing tile background or sprite palette colors. 2021-05-07 23:22:01 -04:00
mjbudd77 2fee85444b Removed unused variables. 2021-05-07 21:16:43 -04:00
mjbudd77 f4d590dd83 Slight tweaks to ppu palette views to make more eye appealing. 2021-05-07 21:12:42 -04:00
g0me3 a4fa6225a0 little fix to more correct fds cdl 2021-05-07 20:11:01 +02:00
mjbudd77 0b689d65c4 Added WAV file recording capability to Qt GUI. 2021-05-05 20:25:34 -04:00
mjbudd77 d7ca6ccc18 Added code to save trace logger recording preferences to the config file (Qt GUI). 2021-05-04 21:06:28 -04:00
mjbudd77 e12e41a093 Minor pixel alignments to Qt hex editor. 2021-05-04 20:38:08 -04:00
mjbudd77 acde2c61d5 Added font selection option to Qt hex editor. 2021-05-04 06:49:13 -04:00
mjbudd77 225ba8a9e9 Qt Hex Editor color picker improvements. Added cursor row/column color highlight and alternate column coloring options. 2021-05-04 06:16:18 -04:00
mjbudd77 a0088e271b Added a cursor row/column color highlight option to Qt hex editor. 2021-05-03 21:51:51 -04:00
mjbudd77 68555d98ab Added config parameters to save PPU viewer tile focus policy preferences for Qt GUI. 2021-05-03 20:25:54 -04:00
mjbudd77 02e3c4e075 Added hot keys for AVI recording to Qt GUI. 2021-05-03 19:52:32 -04:00
mjbudd77 b3700f58b4 Fixed mac OSX x264 dependency package name. 2021-05-03 19:40:41 -04:00
mjbudd77 cfc91e2223 Commented out debug print statement. 2021-05-02 21:35:47 -04:00
mjbudd77 ac340e0a4c Added logic to immediately save the debug symbol table to disk after any change is made. For Qt GUI. 2021-05-02 21:28:14 -04:00
mjbudd77 974d2aefba Bug fix for segmentation fault when deleting all cheats. Instead of using callback based iterator function to delete each cheat, added a new function that will just cleanly delete all cheats without the need for a callback. 2021-05-02 20:49:08 -04:00
mjbudd77 b97bf287b2 Bug fix for Qt GUI when closing ROM while the emulation thread is haning on a breakpoint. Now the thread is allowed to complete its frame so that it is idle with a minimal call stack before the ROM is closed. This prevents the emulation thread from coming out of its breakpoint wait loop at attempting to continue running its frame with no ROM data loaded. This fixes a segmentation fault crash that was mentioned in the project Qt issues thread. 2021-05-02 19:45:36 -04:00
mjbudd77 a74c2ae80b Updated documentation for new Qt GUI AVI recording capabiliity. 2021-05-02 18:51:10 -04:00
mjbudd77 6283dc4687 Successful test of fully integrated avi recording in Qt GUI. 2021-05-02 18:36:34 -04:00