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
mjbudd77
4a498d20af
Initial menu functionality added to GUI for avi recording.
2021-05-02 15:49:15 -04:00
mjbudd77
90e36c15c6
Hooked up video quality input from avi compression chooser.
2021-05-01 14:54:30 -04:00
mjbudd77
da4997ea9c
Set default value for AVI video driver to be a safe choice that is supported by all platforms.
2021-05-01 01:32:17 -04:00
mjbudd77
e57e8f7e4c
Memory leak fixes for VFW avi encoder.
2021-05-01 01:22:48 -04:00
mjbudd77
33d645f911
First successful test of VFW avi recording on Qt GUI.
2021-05-01 01:08:34 -04:00
mjbudd77
22523076de
Added code to save avi files in base folder.
2021-04-30 16:26:54 -04:00
mjbudd77
ec33153e88
Added x264 dependency to linux and macos appveyor pipeline.
2021-04-30 14:09:22 -04:00
mjbudd77
b1638f7c07
Successful test of x264 encoder in linux.
2021-04-30 13:40:17 -04:00
mjbudd77
07776bc471
Initial integration of x264 codec for avi record.
2021-04-30 12:47:36 -04:00
mjbudd77
ce554b5e7b
Added I420 (YUV 4:2:0) conversion option to avi recorder.
2021-04-30 11:57:23 -04:00
mjbudd77
b9f6bf281f
Restructured Qt AVI writer to run is its own thread.
2021-04-29 21:50:45 -04:00
mjbudd77
e9dbe9428a
Set avi fps based on region type.
2021-04-29 06:42:51 -04:00
mjbudd77
9b4b9b6549
Successful recording of small avi in RGB24 format.
2021-04-29 06:21:16 -04:00
mjbudd77
fb30f57bec
Removed unistd.h include from file.
2021-04-29 04:51:05 -04:00
mjbudd77
366c8a8792
Removed rgbtorgb from build as it does not build in windows.
2021-04-28 21:59:19 -04:00
mjbudd77
b78003dc00
Initial add of avi recording code for Qt GUI.
2021-04-28 21:40:46 -04:00
mjbudd77
69ed92eada
Indentation fixes in sdl-sound.cpp.
2021-04-27 20:50:56 -04:00
mjbudd77
9fc0237a01
Fixed constant limit to be in the correct base number system.
2021-04-27 20:22:39 -04:00
mjbudd77
0006cb265d
Fix for re-arm buffer overrun warning on logging restart.
2021-04-27 06:45:54 -04:00
mjbudd77
4afb2ac2ac
Changed linux Qt trace logger to use low level disk write functions to increase efficiency.
2021-04-26 21:41:22 -04:00
mjbudd77
f386dfb428
Changed Qt trace logger to use native windows file access functions to make disk access more efficient.
2021-04-26 21:10:55 -04:00
mjbudd77
84b900b73b
Added logic to wait for trace logger disk thread to be ready for more data when logging to disk. This will slow down the realtime execution of the emulation but will ensure that all instructions are properly logged to the disk.
2021-04-25 23:28:51 -04:00
mjbudd77
f146a7f7f1
Added a separate thread to Qt trace logger whose job is to just write the logged instructions to disk (when disk logging is enabled only). This allows for bottle necks with disk I/O to not slow down the emulation. Also, buffer 4k blocks before writing to disk to make more efficient.
2021-04-25 22:07:59 -04:00
mjbudd77
aa5ce14c06
Added a debug message output for warn of buffer overruns when logging to a file with the Qt trace logger.
2021-04-24 19:13:46 -04:00
mjbudd77
e2716ae2c5
Fixed segmentation fault in Qt trace logger when changing from a large buffer size to a smaller buffer size. Ensure that buffer head and tail pointers are reset as well. Fixed memory leak with old trace log buffer not being freed when allocating the new buffer size.
2021-04-24 13:57:20 -04:00
mjbudd77
2169dd07fb
Changed nametable scanline entry box to be a spin box instead of line edit widget.
2021-04-21 21:03:18 -04:00