mjbudd77
3788dc872e
Applied video updates to SDL driver.
2021-05-29 22:02:00 -04:00
mjbudd77
96c569a652
Changed GL video scaling so that special filter does not effect the size of the overall window.
2021-05-29 21:52:32 -04:00
mjbudd77
b58d4f903c
Slight tweak to CDL auto save logic.
2021-05-29 15:19:28 -04:00
mjbudd77
1c15c829d4
Added logic to ensure that empty symbolic debug files are not created when closing a ROM. Also, added logic to prevent saving of auto defined register symbolic names as they will aways load internally. This prevents debug files from being created when a user is not using emulator debug features.
2021-05-29 13:59:55 -04:00
mjbudd77
a2aa5ba90f
Added logic to only auto save a CDL file is the code data logger was actually started at least once. This will prevent empty cdl files from being created on ever ROM close when auto saving of cdl files is enabled.
2021-05-29 13:46:14 -04:00
mjbudd77
2b9058ea13
Bug fix for Qt drag and drop ROM load. Prefer local file paths if possible.
2021-05-29 13:10:14 -04:00
mjbudd77
9cdbdb31b0
Added ROM file drag and drop into Qt main window feature. This will load the ROM into the emulator when dropped.
2021-05-29 09:16:30 -04:00
mjbudd77
10f599fd5b
Removed old unused blocks of code from SDL video for Qt GUI.
2021-05-28 20:31:58 -04:00
mjbudd77
635cd07020
Added autofire pattern presets to Qt emulation menu. Changed custom autofire pattern entry to use a single dialog window. Autofire pattern is now saved as a config parameter.
2021-05-28 20:25:52 -04:00
mjbudd77
11f1a16ce5
Merge remote-tracking branch 'mjbudd77/master'
2021-05-28 15:50:24 -04:00
mjbudd77
f214da8314
Added logic to save/load video force aspect ratio property to/from config settings.
2021-05-28 15:49:20 -04:00
g0me3
67942accc7
- better log for FDS aware of RAM based code + bios log at the same time (for convinience)
...
- new FDS save/load code tested and works just fine, except they forgot to use DiskWritten var to have saved data flushed, fixed, now all saves are complete
2021-05-28 19:29:23 +02:00
mjbudd77
9013fad6a9
Bug fix for mouse button capture in windows when using SDL video driver. SDL video is intercepting mouse events causing Qt not to see them. Added an extra check to see what the SDL mouse button state is in addition to Qt check.
2021-05-27 20:56:05 -04:00
mjbudd77
a1ae042775
Added debug code to SDL viewport to see if mouse events are coming from SDL.
2021-05-27 19:51:57 -04:00
g0me3
b10b6254c3
better CDL for RAM based FDS system (writes to the RAM discards the logged bits to allow to log different loaded files separately)
2021-05-27 20:32:26 +02:00
mjbudd77
7bd1d6c2e8
Added draw input aid configuration option to Qt GUI.
2021-05-23 21:06:34 -04:00
mjbudd77
5c4f402a1f
Added NULL pointer check to avoid crashes when initializing zapper with no ROM loaded.
2021-05-23 18:48:25 -04:00
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