Commit Graph

4170 Commits

Author SHA1 Message Date
mjbudd77 62b377b97c Namespaced custom swap templated function to prevent it from conflicted with Qt. 2021-11-18 21:55:31 -05:00
mjbudd77 7dfa1f8ae4 Added TAS marker label click logic to Qt GUI. 2021-11-18 21:28:47 -05:00
mjbudd77 f4f1ca750a Added marker edit logic to Qt GUI TAS editor. 2021-11-18 21:07:24 -05:00
mjbudd77 f84694afa2 Hooked up mouse callbacks for Qt Tas editor branches viewer. 2021-11-16 21:42:56 -05:00
mjbudd77 28f4e87121 Modified Qt GUI Lua loadRom functionality to signal the main thread to perform the ROM load. Doing so in the emulation thread can cause crashes. 2021-11-16 00:10:34 -05:00
mjbudd77 61aa68f910 Fixed Qt TAS editor clock scaling. Use CLOCKS_PER_SEC macro as it seems to vary based on OS. 2021-11-15 21:47:15 -05:00
mjbudd77 03230aed07 Qt branches view in work. 2021-11-15 21:17:15 -05:00
mjbudd77 13f8180c96 Qt Tas editor branch view in work. 2021-11-15 20:38:14 -05:00
mjbudd77 27e0f16e08 Qt TAS branches viewport in work. 2021-11-14 21:33:32 -05:00
mjbudd77 06ea1bf29a Qt TAS editor bookmark list paint code implemented. 2021-11-14 20:34:55 -05:00
mjbudd77 96f6a28cc6 Qt TAS editor bookmarks widget in work. 2021-11-14 17:58:14 -05:00
mjbudd77 40f301c665 Moved Lua groupbox on Qt TAS editor to menu to save window space. 2021-11-13 06:48:18 -05:00
mjbudd77 b59ad1bf3b Qt TAS Editor bookmarks/branches view in work. 2021-11-11 22:22:41 -05:00
mjbudd77 9cea7f1551 Added a null check for GameInfo to FCEUMOV_CreateCleanMovie function to prevent crash if ROM is not loaded. 2021-11-10 22:11:49 -05:00
mjbudd77 ff44284dfc Hooked up Qt TAS editor config callback functions. 2021-11-10 22:06:32 -05:00
mjbudd77 c0d0d559be TAS History treeview bug fixes for Qt GUI 2021-11-10 21:25:04 -05:00
mjbudd77 d2193d3e83 Qt TAS editor key logic in work. 2021-11-10 21:07:18 -05:00
mjbudd77 8b4caef750 Added code to populate history tree view in Qt TAS Editor. 2021-11-09 23:24:31 -05:00
mjbudd77 a20b7c0749 Added TAS editor menu items to Qt GUI. 2021-11-09 22:05:12 -05:00
mjbudd77 1251b8df93 Hooked up Qt TAS edit menu functions. 2021-11-08 20:40:11 -05:00
mjbudd77 b2244b3a0b Qt TAS row selection in work. 2021-11-06 09:47:03 -04:00
mjbudd77 4acf8ab61b Qt TAS selection and splicer operation in work. 2021-11-05 20:21:43 -04:00
mjbudd77 39f90e04e7 Fixed TAS splicer functions so that they build uncommented. 2021-11-05 15:08:42 -04:00
mjbudd77 be417b7d3b Re-added line for win32 build. 2021-11-04 07:01:33 -04:00
mjbudd77 51ea52f94b Added code to init Qt TAS patterns. 2021-11-02 22:06:00 -04:00
mjbudd77 7dce4b650b Qt TAS editor mouse tracking in work. 2021-11-02 21:52:59 -04:00
mjbudd77 ffe8aacdc1 Hooked up TAS playback button functionality for Qt GUI. 2021-11-01 23:48:51 -04:00
mjbudd77 09d2204d9c Qt TAS piano roll draw functions in work. 2021-11-01 22:58:54 -04:00
mjbudd77 9284ee8545 Qt TAS editor recorder gui inputs hooked up. 2021-10-31 22:21:56 -04:00
mjbudd77 ce7e3b591a Qt TAS Editor input control in work. 2021-10-31 21:55:06 -04:00
mjbudd77 a39a2c6d03 Qt piano roll widget in work. 2021-10-31 14:44:16 -04:00
mjbudd77 da39715509 Qt TasEditor port in work. 2021-10-29 23:00:19 -04:00
mjbudd77 c0bf822cfb TAS editor project load/save mechanisms inwork for Qt GUI. 2021-10-28 21:59:14 -04:00
mjbudd77 306923afd9 Merge branch 'master' into TasEditor 2021-10-28 20:18:27 -04:00
mjbudd77 03341dd834 Further fixing av_init_packet deprecation. In the future AVPacket will not be able to be allocated on the stack. Instead using av_packet_alloc/av_packet_free. 2021-10-27 07:02:44 -04:00
mjbudd77 672e6cb0a6 Merge remote-tracking branch 'mjbudd77/master' 2021-10-26 20:46:34 -04:00
mjbudd77 b6ece28e76 Preparing for the removal of av_init_packet. It is depricated in the latest release of ffmpeg. 2021-10-26 20:45:45 -04:00
Dan Church 860a182233
Use GNUInstallDirs for man page install paths 2021-10-25 16:05:59 -05:00
mjbudd77 dbc200166c Removed a few references to _itoa. It is not cross platform. 2021-10-24 18:00:38 -04:00
mjbudd77 801bd77639 Ported over TAS modules to Qt. They compile but need to be integrated. 2021-10-24 17:58:45 -04:00
mjbudd77 f00613007b Porting Tas Editor modules from win32. In work. 2021-10-23 06:59:29 -04:00
mjbudd77 4cea83fd1b Changed command line lua script fullpath resolution logic to use cross platform QFileInfo instead of unix realpath. 2021-10-23 05:55:17 -04:00
mjbudd77 019c30b229 Porting over win32 TAS modules. In work. 2021-10-23 05:06:08 -04:00
mjbudd77 a61a92f1e0 Merge branch 'master' into TasEditor 2021-10-22 20:39:02 -04:00
mjbudd77 607ca6fe29 Modified Qt GUI to make Qt Help module an optional dependency. 2021-10-21 19:24:10 -04:00
mjbudd77 66c301d109 Changed version number to 2.5.0 in anticipation of new release. Typed up some initial release notes for the website. 2021-10-19 21:21:22 -04:00
mjbudd77 f523b49f9b Qt Tas editor module setup in work. 2021-10-18 20:59:14 -04:00
mjbudd77 a77f69a931 More Qt TAS editor control panel development. 2021-10-18 20:18:07 -04:00
mjbudd77 1cdb85eadd Qt TAS editor window layout in work. 2021-10-16 06:34:11 -04:00
mjbudd77 1db99e21d8 Added initial placeholder widget for Qt TAS piano roll. 2021-10-16 05:22:48 -04:00
mjbudd77 b7ad6cab38 Initial add of empty Tas Editor window for Qt GUI. 2021-10-16 04:43:16 -04:00
mjbudd77 9c4b03c327 Modified Qt main viewport logic so that side panel coloring so that changes via the color picker dialog are seen immediately. Previous behavior is it would only show change upon accepting new color in dialog. Choosing cancel in dialog will return color to original state. 2021-10-09 21:03:55 -04:00
mjbudd77 80b36379e7 Mouse screen coordinates calculation fix for NTSC 2X video scaler. Fixes issue #409 for the Qt GUI. 2021-10-09 18:31:20 -04:00
mjbudd77 5c4d3be30b Movie action text in main movie menu modified to match AVI/WAV convention for Qt GUI. 2021-10-08 21:56:56 -04:00
mjbudd77 fcfddba64b Modified show FPS algorithm to show average frames over the course of one second and only updates text display at that time. 2021-10-08 21:53:16 -04:00
mjbudd77 a0ab302b3c MacOSX pipeline bundling library fix. 2021-10-08 19:55:11 -04:00
mjbudd77 cd4d22cc6a Minor audio sink tuning to better play sound when running emulation speeds > 100%. Added logic to prevent the audio sink from emtpying when emulation is paused. This provides a seemless transition when transitioning in/out of pause. 2021-10-06 22:01:52 -04:00
mjbudd77 d695207a71 Bug fix for menu bar for AVI RIFF viewer on mac OS. 2021-10-05 21:49:41 -04:00
mjbudd77 b3f182d91d Added ffmpeg library version to list of open source dependencies on the Qt About Fceux window. 2021-10-05 20:19:06 -04:00
mjbudd77 527fa3901b Added operating system info to AVI metadata encoding. 2021-10-05 07:04:17 -04:00
mjbudd77 e0f9754e80 For Qt GUI, implemented a new method of timing frame advance hold delay so that the delay time is more constant with changing emulation speed. 2021-10-05 06:49:16 -04:00
mjbudd77 4352fd8da0 Added avi metadata encoding code for libgwavi driver (old Qt GUI avi backend). 2021-10-04 22:38:15 -04:00
mjbudd77 6f0f4177f2 Added avi metadata encoding to libav for Qt GUI. 2021-10-04 22:18:09 -04:00
mjbudd77 899dd03ac9 Added code to AVI RIFF viewer to calculate/display video frame rate. 2021-10-04 19:54:01 -04:00
mjbudd77 65565cd1dd Added meta data decoding to AVI RIFF viewer. 2021-10-03 15:46:39 -04:00
mjbudd77 edebc11048 AVI file load efficiency fix. Read entire chunks at a time to increase disk read performance. 2021-10-03 11:19:21 -04:00
mjbudd77 674e3dc8f3 Added a AVI file load progress dialog to give feedback when loading large files. 2021-10-03 10:55:55 -04:00
mjbudd77 a290718962 Modified AVI RIFF viewer code to allow for multiple instances of the window. 2021-10-03 10:16:30 -04:00
mjbudd77 c799d3f11e Removed unused symbol. 2021-10-03 09:43:56 -04:00
mjbudd77 8ccc46d5ec Cleanup of Qt AVI RIFF Viewer. 2021-10-03 09:35:50 -04:00
mjbudd77 becec5c8a7 Added code to decode AVI headers in AVI RIFF viewer. 2021-10-03 09:24:06 -04:00
mjbudd77 6856921c38 AVI RIFF viewer tool in work. 2021-10-03 04:58:15 -04:00
mjbudd77 41e04ece0b Added first cut at AVI RIFF Viewer tool window. 2021-10-02 11:33:35 -04:00
mjbudd77 9853ff37b0 Ensure that show lag count, show frame count, and movie bind state options get saved when toggled with a hot key. 2021-10-01 20:19:14 -04:00
mjbudd77 b23db9f8fc Added debug print statements for AVI video FPS. 2021-10-01 20:02:06 -04:00
mjbudd77 e3a9160797 Added more AVI audio buffer protections. 2021-10-01 17:10:13 -04:00
mjbudd77 df56e32027 Added suggested file names to AVI/WAV Record As file dialogs. 2021-10-01 16:39:13 -04:00
mjbudd77 7717e699cd Buffer AVI audio samples for more efficient packing into file chunks. 2021-10-01 16:28:33 -04:00
mjbudd77 52194fdf3d Bug fix for AVI audio when video compressor gives null frames. 2021-10-01 07:00:10 -04:00
mjbudd77 b06b7a98c6 Modified name of audio sink starve counter reset button to make it more intuitive. 2021-09-30 23:10:42 -04:00
mjbudd77 ec076a772a Added Movie word back into associated main menu movie items. 2021-09-30 23:07:37 -04:00
Daniel Wilkins df154af823 Fix on OpenBSD 2021-09-30 17:34:04 -04:00
mjbudd77 2615f9e1e0 Slight efficiency update for showFPS. Only need to pull time stamp from realtime clock once per frame. 2021-09-29 20:23:28 -04:00
mjbudd77 6dc5e678c9 Disabled libgwavi video/audio encoder options button for now. 2021-09-29 20:16:44 -04:00
mjbudd77 3f4a7f55d5 Added missing settings from Qt movie options window to saved config. 2021-09-28 22:39:40 -04:00
mjbudd77 fa84da706f Initialize default sound volume to full for Qt GUI. 2021-09-28 22:05:25 -04:00
mjbudd77 8fe52cb400 Added option to Qt GUI to allow for setting of the color of the video background side panel color (side panels on either side of video image in fullscreen or large windowed modes). 2021-09-28 21:52:43 -04:00
mjbudd77 2b9b2386d3 Bug fix for audio stream header still being written to AVI file even though audio capture has been disabled (for Qt GUI using old libgwavi). 2021-09-27 20:55:11 -04:00
mjbudd77 672dcac6b2 Bug fix for frame advance delay when using emulation speeds other than normal. Scale delay count by ratio of the actual frame rate over the nominal base rate. 2021-09-27 20:14:23 -04:00
mjbudd77 cc316f688b Added logic to save/recall last output directory for AVI/WAV files. 2021-09-25 20:57:36 -04:00
mjbudd77 dcd248c152 Removed AVI/WAV submenus from Qt GUI. AVI/WAV record/stop menu items are now all part of movie menu. 2021-09-25 20:17:24 -04:00
mjbudd77 2dd9756bc5 Bug fix for audio crackle when turning frames per second video indication on/off. 2021-09-25 19:11:35 -04:00
mjbudd77 a3ddca2f4a Sort encoder options alphabetically. 2021-09-25 18:08:36 -04:00
mjbudd77 2212dbacab Sort libav video/audio encoders alphabetically. 2021-09-25 15:40:23 -04:00
mjbudd77 8f0f6f23e1 Fix for frame count not initializing correctly on video options page. 2021-09-25 15:23:01 -04:00
mjbudd77 5fd9b12a15 Added tool tips to libav options window. 2021-09-25 13:32:43 -04:00
mjbudd77 12183443bd Another build fix for missing libav. 2021-09-24 19:19:11 -04:00
mjbudd77 c0e923fd7d Build fix for case where libav is not installed on linux. 2021-09-24 18:50:03 -04:00
mjbudd77 5d79033a21 Bug fix for X264 and X265 libs not being installed. 2021-09-24 18:23:39 -04:00
mjbudd77 3fc74aedbe Moved all avi config parameters/options to motion options window for Qt GUI. 2021-09-24 16:31:19 -04:00
mjbudd77 819357129f Added logic to save AVI audio recording option. Added to logic to not add an audio stream into AVI (libav driver) when this is active. 2021-09-23 17:19:09 -04:00
mjbudd77 84737be59f Added combo entry boxes for libav audio sample format, rate, and channel layout selection. 2021-09-23 13:27:48 -04:00
mjbudd77 14eb41cfd3 Added libav av flags option type handling config logic. 2021-09-23 09:10:20 -04:00
mjbudd77 4a574c9c1c Modified avi codec config parameter save functionality to only save differences from defaults values. 2021-09-22 23:43:55 -04:00
mjbudd77 c5a9238774 Qt AVI debug print cleanup. Moved avi codec config files to /avi. 2021-09-22 22:40:15 -04:00
mjbudd77 f774d320de Added boolean option type config code for libav. 2021-09-22 22:31:32 -04:00
mjbudd77 1f1551a716 Added save/load codec config parameters functionality. 2021-09-22 22:18:09 -04:00
mjbudd77 135325f9ae Added libav audio encoder config window. 2021-09-21 22:54:32 -04:00
mjbudd77 d20a7bb452 libav option changing window in work. 2021-09-21 22:34:53 -04:00
mjbudd77 a844963c8a Added libav video pixel format selection via combo box. 2021-09-20 20:42:27 -04:00
mjbudd77 591b21f4af Added a log file to detail avi recording issues. Memory allocation cleanup fixes for libav. 2021-09-20 19:39:09 -04:00
mjbudd77 74e3b81536 Bug fix for crash video format conversion in the case that desired video pixel format is already in bgra so no conversion is necessary. Fixes crash for ffv1 encoder. 2021-09-18 07:17:26 -04:00
mjbudd77 0076f048f8 Merge remote-tracking branch 'TasVideos/master' 2021-09-17 22:36:30 -04:00
mjbudd77 9758a8bb09 Bug fix for unhooked combo box callback to avi backend. 2021-09-17 22:35:41 -04:00
mjbudd77 fd2560a283 Merge remote-tracking branch 'mjbudd77/master' 2021-09-17 22:27:25 -04:00
mjbudd77 435c332902 Bug fix for auto-detection of default encoders for libav. 2021-09-17 22:26:22 -04:00
mjbudd77 4501292f7b Bug fix for finding encoder. Search by string name instead of integer ID since the name is the only unique parameter. 2021-09-17 21:43:45 -04:00
mjbudd77 dffab9e57f Sync libav video/audio encoder selections to config. 2021-09-17 20:43:11 -04:00
mjbudd77 1dd9036da6 Bug fix for libav MPEG4 video frame rate encoding. 2021-09-16 23:40:29 -04:00
mjbudd77 b514c143b6 libav movie options in work. 2021-09-16 23:15:32 -04:00
mjbudd77 3262e182e8 Setup qt win64 pipeline to auto download libav from external site and link into program. Make linking libav optional in cmake for qt win64 build. 2021-09-16 21:20:59 -04:00
mjbudd77 954e7d847c Windows build fix for compiling against newer libav. 2021-09-15 01:54:51 -04:00
mjbudd77 8e2af98295 Build fix for various versions of libav. 2021-09-14 21:36:50 -04:00
mjbudd77 18768ef4b3 Bug fix for libav audio encoding. 2021-09-14 21:31:40 -04:00
mjbudd77 2007d03eef Build fixes for linking libav in windows. 2021-09-14 00:56:59 -04:00
mjbudd77 233d555ffe Unsuccessful attempts at changing RGB->YUV coefficients to get proper color output. Turns out a gamma correction is needed that is more involved than I thought. 2021-09-13 23:04:14 -04:00
mjbudd77 a83826c187 Raw video BGR24 testing changes. 2021-09-09 22:14:09 -04:00
minucce cec337a431
Fix MMC5 battery loading 2021-09-09 03:19:08 +00:00
mjbudd77 679813e2d2 libav option debugging in work. 2021-09-08 23:14:17 -04:00
mjbudd77 425a2eedaa Added a print available libav encoders debug function. 2021-09-07 22:22:53 -04:00
mjbudd77 d8d7b59f34 Removed deprecated libavresample functions in favor of libswresample. 2021-09-07 22:02:43 -04:00
mjbudd77 e4cd3b0d1a Added libav audio encoding logic. 2021-09-07 20:59:59 -04:00
Alexey 'Cluster' Avdyukhin 80032f8f84 NES 2.0 exponent-multiplier notation support 2021-09-07 20:39:13 +03:00
mjbudd77 f3ce245746 First successful recording of video using libav. 2021-09-07 01:41:40 -04:00
mjbudd77 80df18351a libav recording in work. 2021-09-07 00:10:30 -04:00
mjbudd77 54fcaf4baf Libav integration in work. 2021-09-06 15:48:42 -04:00
mjbudd77 f711dbd23d Added logic to add AVI 2.0 STD index chunks to stream at 2GB intervals. 2021-09-02 21:37:05 -04:00
mjbudd77 2ddfc43bc2 Implemented first cut at avi 2.0 indexing for Qt GUI. 2021-09-02 21:13:54 -04:00
mjbudd77 4e1a335f81 Changed file I/O markers to be 64 bit for Qt AVI. 2021-09-01 20:57:06 -04:00
mjbudd77 51ef32413b Created wrapper functions for fseek and ftell for Qt avi 64 bit file I/O. 2021-09-01 20:53:34 -04:00
mjbudd77 fe87e1387f Minor cleanup of x265 encoding code. 2021-08-31 21:40:14 -04:00
mjbudd77 520e146b80 Added X265 video encoder feature to AVI Qt GUI. 2021-08-31 21:13:42 -04:00
mjbudd77 bf3a02fe9b Implemented sound use global focus in a different way so that it will mute physical audio without also muting avi/wav recording audio. 2021-08-31 17:18:46 -04:00
mjbudd77 934437dddc Added AVI debug as an optional compile time setting to Qt GUI. 2021-08-31 20:47:48 -04:00
mjbudd77 1c6a08e868 Force audio stream frames to always be keyframes. 2021-08-31 16:31:23 -04:00
mjbudd77 83633b11f3 Added proper avi keyframe logic for libx264 on Qt GUI. 2021-08-31 16:12:57 -04:00
mjbudd77 77c3fa8ab4 Moved Vfw compressor choose window popup to be after file overwrite warning popup for Qt GUI. 2021-08-31 15:25:48 -04:00
mjbudd77 8d3a27e1a5 Added functionality to properly encode keyframes into AVI file for Qt GUI. 2021-08-31 13:10:16 -04:00
mjbudd77 15c4a729b9 Added a config parameter to save VfW compressor choice for Qt GUI. 2021-08-30 18:21:45 -04:00
mjbudd77 21cc75eb45 Fix for Qt Avi offset index memory reserve calculation. 2021-08-29 22:11:20 -04:00
mjbudd77 f879757d27 Commented out Qt AVI debug function in main menu until the window is finished. 2021-08-29 22:05:37 -04:00
mjbudd77 f10d50fe6b Replaced realloc calls with a std::vector for efficiency. 2021-08-29 22:01:28 -04:00
mjbudd77 f47665609b Added debug code for decoding index block. 2021-08-29 21:35:32 -04:00
mjbudd77 a47fd82334 Bug fix for Qt AVI encoding of idx1 chunk sizes. 2021-08-29 16:06:50 -04:00
mjbudd77 04aa7afb1f Bug fix for incorrect audio and video chunk size. Data pad should not be included in the ckSize field. 2021-08-29 15:36:02 -04:00
mjbudd77 4e1b5873b9 Bug fixes for Qt AVI debug decoder. 2021-08-29 15:08:00 -04:00
mjbudd77 a0ada0748b Added debug print of main avi header. 2021-08-25 22:27:09 -04:00
mjbudd77 95db43d3f9 Added an AVI decode debug function to Qt GUI. 2021-08-25 22:04:39 -04:00
mjbudd77 5db7abf118 Fixed rounding error in avi frame rate calculation. Fixed avi fps calculation to account for the case where the user has integer frame rate selected. 2021-08-21 10:35:29 -04:00
mjbudd77 c719058991 Added a protection in Qt/SDL sound to prevent audio buffer overflow during turbo mode. 2021-08-20 22:10:09 -04:00
mjbudd77 c3b44910a0 Updated controller input display label text to be more intuitive. 2021-08-20 21:54:16 -04:00
mjbudd77 062c4c527d Force VfW FOURCC characters to upper case. 2021-08-20 21:06:16 -04:00
mjbudd77 ba5be09a28 Fix for Qt AVI encoding of dwRate and dwScale in the stream header. 2021-08-20 16:27:30 -04:00
mjbudd77 d13ef4cdbe Fix to ensure that Qt hex editor gets updated at each breakpoint. 2021-08-19 23:06:54 -04:00
mjbudd77 9d2acd6931 Added memory write undo functionality for debugger step back. 2021-08-19 21:32:14 -04:00
mjbudd77 07f73c2fb9 First cut at implementing instruction step back function using trace logger data. 2021-08-19 18:46:02 -04:00
mjbudd77 09117e5286 Added debugger step back button. Functionality still TODO. 2021-08-19 18:15:27 -04:00
mjbudd77 0d4b604689 Added missing unix make docs script. Added table of contents to qhp file. 2021-08-17 22:16:57 -04:00
mjbudd77 8b0f4a0fc0 Added unix docs build to pipeline. Added navigation buttons to help window. 2021-08-17 21:23:39 -04:00
mjbudd77 6762a1bb7c Added fceux help page viewer using QHelpEngine. 2021-08-16 21:44:03 -04:00
mjbudd77 fa52003d37 Fixed Qt video debug log output. Cleaned up some unused video functions. 2021-08-16 19:00:30 -04:00
mjbudd77 2e53904467 Added code to allow for an external chm viewer to be used for unix OS. 2021-08-16 06:29:57 -04:00
mjbudd77 f8b6d19a94 Build fixes for Qt windows chm help file loader. 2021-08-15 21:09:12 -04:00
mjbudd77 90d8dbd411 Added offline help pages for windows Qt GUI. 2021-08-15 20:42:51 -04:00
mjbudd77 1e13f3f7c3 Added overclocking parameters to saved config settings for Qt GUI. 2021-08-15 20:21:16 -04:00
mjbudd77 0e64829682 Added a Run PPU half frame icon (that doesn't look like a stop icon) for debugger run 128 lines. 2021-08-14 21:18:09 -04:00
mjbudd77 e6d0822dad Added save/recall window geometry for various windows in Qt GUI. 2021-08-14 17:21:19 -04:00
mjbudd77 911e903ecb Created a custom read only QCheckBox whose state cannot be changed via mouse button clicks. The widget is for boolean state display purposes only. 2021-08-14 16:54:48 -04:00
mjbudd77 d8a1425715 Change trace logger Log Last text to be a label instead of a checkbox. Logging will always go to screen even if also going to a file. The same buffer is used for both. 2021-08-14 12:59:00 -04:00
mjbudd77 03a40f22ac Save state of cheat window checkbox options for Qt GUI. 2021-08-14 07:46:05 -04:00
mjbudd77 8b59b85be8 Making sure that all Tools windows have their geometry saved and recalled for Qt GUI. 2021-08-14 06:36:46 -04:00
mjbudd77 20d69ffa9f Set hot key row coloring to alternate. 2021-08-12 21:09:05 -04:00
mjbudd77 9e70db952e Changed Qt hotkey window to sort the hot keys into logical groups. 2021-08-12 21:05:43 -04:00
mjbudd77 136ae9a336 Added AVI overwrite warning dialog to Qt GUI. 2021-08-11 21:26:02 -04:00
mjbudd77 a571677cdb Changed Qt GUI AVI recording video pickoff point so that HUD/messages can be optional in the recorded image. 2021-08-11 21:11:00 -04:00
mjbudd77 88da722533 Added a few missing config parameters to Qt trace logger. Namely, save to file (flag and path) and automatic window update. 2021-08-10 21:49:44 -04:00
mjbudd77 8e798cbbb9 Save main window position so that it can be restored at same location and size. 2021-08-10 20:50:49 -04:00
mjbudd77 e406583256 Set Standard 4:3 to be default aspect ratio if force aspect is selected. Renamed default 1:1 to be Square Pixels 1:1. 2021-08-10 20:22:50 -04:00
mjbudd77 1d15fc49c3 Added window resize presets to Qt main menu. 2021-08-10 20:12:19 -04:00
mjbudd77 443752b7b8 Fix for input display label. 2021-08-09 22:25:11 -04:00
mjbudd77 87a99e50dc Sync state of video overlay Qt widgets in a periodic update to ensure that hot key functions do not get window out of sync with state. 2021-08-09 22:19:19 -04:00
mjbudd77 49534e8f4b Modified Qt video settings window to group video overlays together. Added frame, lag, and re-record count overlays checkbox options to window. Added input display overlay combo box. 2021-08-09 22:06:45 -04:00
mjbudd77 8d4e535d0a Changed ROM patch logic on Qt GUI so that a byte block can be undone as one undo. 2021-08-08 20:49:09 -04:00
mjbudd77 f834069180 Changed SDL audio locks to not be called as often. Gives slight performance increase. 2021-08-08 14:28:10 -04:00
mjbudd77 52b5ee51f4 Another minor change to the Qt sound scaling algorithm to better scale at frame rates faster than realtime. 2021-08-08 14:02:06 -04:00
mjbudd77 07455a7201 Fixed subtitle text in Qt movie options window. 2021-08-07 19:52:41 -04:00
mjbudd77 d53a746f18 Minor tweaks to new Qt sound setup. 2021-08-07 12:49:55 -04:00
mjbudd77 896af76167 Changed Qt sound underflow/overflow so that it better scales with changing running faster or slower than realtime. 2021-08-07 10:24:37 -04:00
mjbudd77 301fb99a8a Added audio sink starve counter label to sound config window. This in conjunction with the audio buffer usage bar, can help determine if the sound system is buffering properly. 2021-08-06 23:00:41 -04:00
mjbudd77 ebec5422bf Qt sound fix for integer frame rates. Now computes the proper expected number of samples per frame. 2021-08-06 22:27:59 -04:00
mjbudd77 728a7c3580 Added sound use global focus option to Qt GUI. 2021-08-06 00:14:37 -04:00
mjbudd77 f925e82d85 Added backend logic to mute sound when GUI focus is lost. Still TODO add window controls. 2021-08-05 23:43:44 -04:00
mjbudd77 455df4caae Added movie record input dialog to Qt GUI. 2021-08-05 22:35:29 -04:00
mjbudd77 f3af816eda Minor menu fixes for Qt GUI. 2021-08-05 19:37:28 -04:00
Alexey 'Cluster' Avdyukhin 3fe7e4e02e (Qt) More input devices for NES 2.0 header editor 2021-08-05 20:10:16 +03:00
Alexey 'Cluster' Avdyukhin 06fab0fe57 (Qt) NES 2.0 header editor bugfix for input device 2021-08-05 20:09:06 +03:00
Alexey 'Cluster' Avdyukhin 2d5552c800 More input devices for NES 2.0 header editor 2021-08-05 20:07:38 +03:00
Alexey 'Cluster' Avdyukhin c9643cd0ab NES 2.0 header editor bugfix for input device 2021-08-05 20:03:55 +03:00
mjbudd77 61661ff233 Minor tweak to trace log clear to make screen refresh instantly. 2021-08-05 09:10:47 -04:00
mjbudd77 7767e8d162 Added trace logger clear log functionality to Qt GUI. 2021-08-05 08:09:58 -04:00
mjbudd77 236fb67b7d Added show trace data option to Qt disassembly display. 2021-08-05 06:16:01 -04:00
mjbudd77 0a70f46a9f Added a debug pause button to the Qt debugger tool bar. 2021-08-05 05:17:17 -04:00
mjbudd77 e0bc4ab67b Bug fix for emulation thread incorrectly accessing GUI widgets. All widget access must be done in GUI thread. 2021-08-03 23:44:50 -04:00
mjbudd77 50861ab903 Added symbol address and value to assembly look ahead popup window. 2021-08-03 23:26:09 -04:00
mjbudd77 63c4a18e46 Added logic to allow for ROM offsets to be selected in the assembly view window. 2021-08-03 22:11:37 -04:00
mjbudd77 d04d08d2e9 Default new breakpoints to be enabled in dialog. 2021-08-03 21:10:56 -04:00
mjbudd77 8d7f2032fc Added checks to Qt GUI to prevent user from mapping joystick buttons to the keyboard device. Added warning popups to indicate to user what is wrong. 2021-08-03 20:48:54 -04:00
mjbudd77 10f5988e62 Initialize button states to zero. 2021-08-02 21:58:06 -04:00
mjbudd77 eabde5f134 Added tool tips to gamepad config profile buttons. 2021-08-02 21:29:21 -04:00
mjbudd77 39480dcf91 Moved advanced key binding buttons to bottom of window. 2021-08-02 21:10:53 -04:00
mjbudd77 da084fb184 For Qt GUI, added option to have up to 3 alternate gamepad button bindings in addition to the primary mapping. 2021-08-02 21:02:02 -04:00
mjbudd77 f76df49bf8 Set enable opposite directionals default to false for Qt. 2021-08-02 07:59:36 -04:00
mjbudd77 2054efa3de Changed default style to fusion for windows platforms. 2021-08-02 00:15:43 -04:00
mjbudd77 d4051e2387 Default force aspect ratio to off for Qt GUI video. 2021-08-02 00:11:21 -04:00
mjbudd77 eecbba3fc3 Added button icons to cancel/ok buttons on breakpoint add/edit window. 2021-08-01 23:38:47 -04:00
mjbudd77 8c19cb5257 Added detected screen refresh rate display to Qt video config window. Minor memory fixes. 2021-08-01 21:05:08 -04:00
mjbudd77 a925270df4 Added PPUSTATUS register flags to PPU control/mask/status tool tip popup. 2021-08-01 20:25:39 -04:00
mjbudd77 77b2f1be33 Updated Qt PPU debugger display. 2021-08-01 20:16:42 -04:00
mjbudd77 f45ba2f8af Merge branch 'master' of github.com:TASVideos/fceux 2021-07-31 20:07:51 -04:00
mjbudd77 c978c1631a Added an integer frame rate option to Qt GUI better sync with video. 2021-07-31 20:07:18 -04:00
Alexey 'Cluster' Avdyukhin ea4505ae39 NES 2.0 loader for COOLBOY/MINDKIDS (mapper 268) 2021-07-30 18:28:04 +03:00
Alexey 'Cluster' Avdyukhin f8d1258a1c More fixes to the new input system in win32 2021-07-30 17:46:10 +03:00
mjbudd77 6b65d1264d Added code to warn user of unsaved advanced gamepad bindings when closing gamepad config. 2021-07-29 21:16:30 -04:00
mjbudd77 9ea53e210e Successful save/load of advanced gamepad button to hotkey function bindings for Qt GUI. 2021-07-29 20:59:30 -04:00
mjbudd77 7affd34b2c Successful save/load of advanced gamepad button to hotkey function bindings for Qt GUI. 2021-07-29 20:53:27 -04:00
mjbudd77 56f1794b57 Changed Qt advanced gamepad bindings to be stored separately for each individual gamepad port. 2021-07-28 22:01:06 -04:00
mjbudd77 c85cd6cb03 Save OAM viewer settings for Qt GUI. 2021-07-27 06:53:26 -04:00
mjbudd77 212dab2c58 Added remaining config parameters for Qt PPU Viewer. 2021-07-27 06:08:01 -04:00
mjbudd77 c8686e222e Save PPU viewer color preferences. 2021-07-27 05:56:28 -04:00
mjbudd77 a08a824ad7 Added config parameters to save settings for Qt name table viewer. 2021-07-26 20:41:13 -04:00
mjbudd77 11f2a0ce07 Added break on bad opcodes, unlogged code, and unlogged data to list of saved config parameters for Qt gui. 2021-07-26 06:54:47 -04:00
mjbudd77 ff991bb9c4 Changed menu accelerator key for break on cycles. 2021-07-25 14:24:20 -04:00
mjbudd77 e95c26ea42 Finished new break on cycle/instruction counter feature for Qt GUI. 2021-07-25 14:18:53 -04:00
mjbudd77 bcbd3218d2 Breakpoint on CPU cycles/instructions GUI setup dialog in work. 2021-07-24 15:03:13 -04:00
mjbudd77 08def74ceb Added code to save symbolic debug preferences in Qt debugger. 2021-07-24 09:48:03 -04:00
mjbudd77 cbb1aeae4a Added hot key assignment text to debugger tool bar buttons. 2021-07-23 23:06:21 -04:00
mjbudd77 f0b3754d45 Bug fix for jump address line function in debugger. Logic change to only show address look ahead for addresses seen in operand part of assembly line. 2021-07-23 22:40:10 -04:00
mjbudd77 558a76ccc2 Added an assembly look ahead at address popup feature. 2021-07-23 22:21:49 -04:00
mjbudd77 3751589939 Modified Qt debugger breakpoint checking logic to also look for ROM addressed breakpoints. 2021-07-23 18:56:59 -04:00
mjbudd77 129fbe3c32 Added a breakpoint on execution of specific ROM Address feature to debugger. 2021-07-19 21:31:29 -04:00
mjbudd77 4301b96b4a Bug fix for Qt PPU viewer CDL masking options. 2021-07-18 20:43:58 -04:00
mjbudd77 37f66eb7f4 Removed unused deprecated color picker object for hex editor. Cleaned up comments. Changed RAM view naming to CPU view as it is really a view of the CPU memory bus. 2021-07-18 20:21:18 -04:00
mjbudd77 67d64b0e63 Added code to save last position of Qt movie play window. 2021-07-18 20:08:21 -04:00
mjbudd77 829e8cb3f1 Added missing config paramaters for Qt Hex Editor. 2021-07-18 20:01:15 -04:00
mjbudd77 bf41302862 Added logic to ensure that text highlighting always has coloring preference over other coloring options (activitiy coloring, ROM coloring, etc). 2021-07-18 19:36:08 -04:00
mjbudd77 54aeeebb5d Used better color menu item object for hex editor color selection. 2021-07-18 18:48:40 -04:00
mjbudd77 6aa0c9fec1 Added main window context menu for Qt GUI. 2021-07-18 18:07:58 -04:00
mjbudd77 fcaadd7e84 Rearranged a few of the debugger menu items. 2021-07-18 17:27:45 -04:00
mjbudd77 db0ab29be2 Added missing override virtual function syntax sugar to debugger header. Moved Movie menu item to 2nd in list after File. 2021-07-18 17:09:04 -04:00
mjbudd77 34e4e03fe4 Set -DLUA_USE_LINUX compiler flag when internally building and static linking lua. This is required for lua plugin functionality on linux and macosx. 2021-07-18 15:41:29 -04:00
mjbudd77 2f5e23adfb Fixed hex editor scroll bars to use proper page step. 2021-07-17 21:37:25 -04:00
mjbudd77 67e19b6d13 Trace logger menu bars page size fixes. 2021-07-17 21:26:54 -04:00
mjbudd77 7eb3dcddb7 Bug fix for debugger assembly viewport scroll bars. Page size is now proper computed for both horizontal and vertical bars. Now hide horizontal bar if viewport is large enough to show full amount of longest line. 2021-07-17 20:04:09 -04:00
mjbudd77 e4f5384069 Debugger menu text cleanup. Removed redundant text. 2021-07-17 15:35:37 -04:00
mjbudd77 1b745599c7 Minor logic fixes for transitions between debugger layout presets. 2021-07-17 15:08:33 -04:00
mjbudd77 e49b40e6c3 Set default display option to be compact split view for debugger. 2021-07-17 15:01:22 -04:00
mjbudd77 31cbbebc8e Added layout presets to debugger. 2021-07-17 14:48:53 -04:00
mjbudd77 a3669b5b93 Added code to save display state of debugger window. 2021-07-17 11:49:50 -04:00
mjbudd77 c8e22140f3 Removed qgroupboxes in favor of qframes for new debugger tabbed widget approach. 2021-07-16 07:15:05 -04:00
mjbudd77 0cef9783ff Merge remote-tracking branch 'TasVideos/master' 2021-07-15 23:58:28 -04:00
mjbudd77 415d4a2c84 Code clean up from tabbed widget development. 2021-07-15 23:56:36 -04:00
mjbudd77 4a216de908 Added a tabbed widget approach to displaying data blocks on Qt GUI. 2021-07-15 23:50:34 -04:00
mjbudd77 baa0af5d7c Added a custom tool tip base class to handle common window management details. 2021-07-15 00:54:52 -04:00
mjbudd77 e31384ab60 Made a custom popup for the PPU control register status display. 2021-07-14 22:48:48 -04:00
Alexey 'Cluster' Avdyukhin f828826771 Button binding dialog fixes, XBox controller support fixed 2021-07-15 01:04:26 +03:00
Alexey 'Cluster' Avdyukhin e72a8bc577 Tabs! Damn it. 2021-07-14 22:49:34 +03:00
Alexey 'Cluster' Avdyukhin 16be0d6915 Added Downtown Special to savie[] because it's without battery flag in GoodNES V3.23b 2021-07-14 22:41:59 +03:00
mjbudd77 0a367374da Added a navigate backwards/forwards line history to Qt debugger assembly view. 2021-07-13 23:36:27 -04:00
mjbudd77 086163e062 Added go to assembly address on double click and context menu option. 2021-07-11 19:05:29 -04:00
mjbudd77 4ffcafd138 Minor fix for tool tip CPU address field. 2021-07-11 16:55:14 -04:00
mjbudd77 e307f5a282 Changed visibility text labels to visible for compactness. 2021-07-11 16:37:14 -04:00
mjbudd77 1fad7e599a Initialized state of menu items for display viewport controls for Qt GUI. 2021-07-11 16:34:56 -04:00
mjbudd77 d212e1aae1 Bug fix for assembly tool tip check going off end of string. 2021-07-11 13:26:59 -04:00
mjbudd77 b601d36641 More Qt debugger window layout options. 2021-07-11 13:03:25 -04:00
mjbudd77 15a3fddf41 Moved debugger bookmark area to far right of window. TODO will make data display area positioning configurable. 2021-07-11 08:01:21 -04:00
mjbudd77 467089cac1 Changed size policy for debugger bookmark and breakpoint tree views. Now can resize window better. 2021-07-11 07:45:37 -04:00
mjbudd77 6e5bbc1c7c Re-organized creation of Qt debugger window layout and widgets to make it more managable. 2021-07-11 07:05:37 -04:00
mjbudd77 1e6264dd05 Added logic to show/hide breakpoint list in Qt debugger. 2021-07-11 05:18:54 -04:00
mjbudd77 a85d668f2f Added a tool tip for getting operand address information to Qt debugger. 2021-07-10 22:13:38 -04:00
mjbudd77 036c9106ad Qt debugger line spacing adjustments. 2021-07-10 21:22:00 -04:00
mjbudd77 d3ba6c540f Added a function to draw a nicer colored arrow for the instruction pointer on the assembly view for the Qt debugger. 2021-07-10 19:42:52 -04:00
mjbudd77 bb8c591742 Renamed debugger assembly syntax coloring config parameters to be shorter and not be debugger specific. The trace logger may use these later. 2021-07-10 18:43:42 -04:00
mjbudd77 fdb58db949 Display fix for Color menu picker window title. Filter out & accelerator characters. 2021-07-10 18:41:03 -04:00
mjbudd77 fcf250e350 For Qt debugger. Added logic to make byte code display configurable. Saved color configs to file. 2021-07-10 16:49:18 -04:00
mjbudd77 8314f7bad1 Fix for gamepad button text postioning and sizing. 2021-07-10 14:18:03 -04:00
mjbudd77 21291430b4 Bug fix for stack overrun in lua-engine on mac OSX. 2021-07-10 14:17:42 -04:00
mjbudd77 5c992a8610 Initial add of color syntax logic in Qt debugger. 2021-07-09 21:36:26 -04:00
mjbudd77 ea7deb0fd0 Initial add of assembly color option logic for Qt debugger. 2021-07-09 21:08:39 -04:00
mjbudd77 151bee01dc Added font selection options to Qt debugger. For #352. 2021-07-09 15:16:32 -04:00
mjbudd77 37abb7305b Added sizing logic to Qt debugger stack view to resize to display needs. 2021-07-09 14:15:45 -04:00
mjbudd77 1efe2de1f7 Added logic to allow for quick toggling of breakpoints by just clicking left mouse button between the end of cdl end boundary and the beginning of the line address text. 2021-07-09 00:01:32 -04:00
mjbudd77 a712448d81 Added logic to determine what ASM line a breakpoint is on and draw a red circle graphic on that line. 2021-07-08 23:36:24 -04:00
mjbudd77 2030d18e40 Added logic to code data and trace logger windows so that if already open, the windows are raised and given input focus. 2021-07-08 22:18:20 -04:00
mjbudd77 17933eb86e Added logic to Qt PPU, sprite and nametable viewer windows so that if already open, the windows are raised and given input focus. 2021-07-08 22:06:56 -04:00
mjbudd77 27fc890977 Changed Qt debugger code so that only one debugger can be open at a time. 2021-07-08 22:00:32 -04:00
mjbudd77 c7627d9d26 Minor Qt debugger coloring changes. 2021-07-08 20:43:10 -04:00
mjbudd77 bcb620ccf9 Added debug symbol address decode tool top. 2021-07-08 19:43:25 -04:00
mjbudd77 b6ab045651 Updated short descriptions for opcode tool tips. 2021-07-08 18:00:35 -04:00
mjbudd77 15f799beff Added long descriptions to opcode tool tips. 2021-07-07 18:40:39 -04:00
mjbudd77 edb167ab2a Debugger opcode tool tips in work. 2021-07-07 08:03:02 -04:00
mjbudd77 692e137e6f Opcode tool tips in work for Qt debugger. 2021-07-06 22:56:33 -04:00
mjbudd77 47da5cbc17 Added tool tips for CPU status display on Qt debugger. 2021-07-06 19:58:12 -04:00
mjbudd77 a993487d13 Compatibility fix for Qt 5.9. Should fix issue #384. 2021-07-04 07:25:03 -04:00
qeeg f3bab87c38 Fix SYA and SXA opcodes in the CPU. blargg_nes_cpu_test5 now works 2021-07-03 10:30:45 -05:00
mjbudd77 7c70db115e Commented out unused break on exceed counter widgets that will later be removed. 2021-07-02 21:54:59 -04:00
mjbudd77 91298bb24f Moved CPU cycle and instruction counter displays to same area as CPU register status on debugger window. 2021-07-02 21:35:37 -04:00
mjbudd77 4170384b72 Added missing question box for debugger step out in already running. 2021-07-02 20:02:01 -04:00
mjbudd77 cae2d15e47 Add seek to PC and change PC menu functions to debugger. 2021-07-02 19:40:45 -04:00
mjbudd77 aa02836972 Added counter reset button to debugger tool bar. 2021-07-02 16:31:51 -04:00
mjbudd77 7af00f523e Added go to address function to debugger tool bar. 2021-07-02 16:26:44 -04:00
mjbudd77 fd6876a09d Added tool bar to Qt debugger window. 2021-07-02 15:15:26 -04:00
mjbudd77 c3fbabc633 Go to address dialog adjustments for debugger and hex editor. 2021-07-01 22:34:30 -04:00
mjbudd77 e9cb6498cd Added goto address menu function for Qt debugger. 2021-07-01 22:11:37 -04:00
mjbudd77 117bfd0223 Moved debugger reset counter to menu instead of pushbutton on window. 2021-07-01 21:17:06 -04:00
mjbudd77 77a4e610fb For Qt GUI, moved debugger assembly view checkbox options to the debug window main menu. This gives more room to expand the bookmark viewport. 2021-07-01 21:10:59 -04:00
mjbudd77 f9c785ba65 Added debugger breakpoint on unlogged code/data feature request #379. Moved break on bad opcodes checkbox from debug window layout to menu (saves valuable space in debug window for other things). 2021-06-30 21:24:13 -04:00
mjbudd77 7b1e171ba7 Added code to save/restore Qt window geometry for commonly used tools and debug windows. 2021-06-30 06:50:31 -04:00
mjbudd77 d57cf3e35c Added code/data logger indications to Qt debugger assembly view. 2021-06-29 21:50:16 -04:00
mjbudd77 89966a2374 Set clipSidesOffset appropriately so that messages are not clipped in Qt GUI. 2021-06-28 20:23:20 -04:00
Alexey 'Cluster' Avdyukhin 6376c9a311 Removed unnecessary malloc() at all 2021-06-28 09:18:48 +03:00
Alexey 'Cluster' Avdyukhin 2c74b61bf9 Fixed regularly crashes when using Ctrl+A in HEX editor 2021-06-28 08:57:53 +03:00
mjbudd77 a2d08f62ec Same macosx palette search logic added for palette editor window. 2021-06-26 00:24:57 -04:00
mjbudd77 fa3b135a44 Updated Palette config to search in applications resources folder for palettes. Palette, lua scripts, and documentation files are now packaged into MacOSX DragNDrop package. 2021-06-26 00:16:53 -04:00
mjbudd77 941da60ecb Bug fix for stack buffer overflow on mac osx. 2021-06-25 12:04:18 -04:00
mjbudd77 572e89ee90 Cleaned up a few unused variables. Added blit and render counters to help debug if GUI rendering is on time with emulation thread. 2021-06-23 20:30:33 -04:00
mjbudd77 0b7c7f1924 Minor updates to SDL README. 2021-06-23 07:02:47 -04:00
mjbudd77 2cc52f101f Merge remote-tracking branch 'mjbudd77/master' 2021-06-21 20:33:21 -04:00
mjbudd77 637559c7b7 Added logic to only hook up screen changed signal handler once the window has fully been constructed. 2021-06-21 20:06:13 -04:00
mjbudd77 bcdfa2a834 Added logic to watch for screen change events coming from main window and notify OpenGL widget to recalculate screen pixel ratio and texture sizes. 2021-06-20 22:12:53 -04:00
Alexey 'Cluster' Avdyukhin 655609079b Fix for #376 2021-06-20 15:02:32 +03:00
mjbudd77 0053a52929 Tuned PAL palette slider and label minimum widths for Qt palette config window. 2021-06-19 17:12:21 -04:00
mjbudd77 45779c4331 Use function pointer to save having to do if/else if scale check on every pixel. Makes ModernDeemphColorMap slightly more efficient. 2021-06-19 09:37:24 -04:00
zeromus f20fea7b90 fix bug that made prior commits not work in release ModernDeemphColorMap
fixes #375
2021-06-18 12:38:09 -04:00
zeromus d6e89e2147 fix some scaling cases 2021-06-18 12:34:32 -04:00
mjbudd77 c53a04dfda Merge remote-tracking branch 'mjbudd77/master' 2021-06-18 07:11:19 -04:00
mjbudd77 80d0df9c6b Added PAL sharpness percent indication label. 2021-06-18 07:10:43 -04:00
zeromus 907af7f87e try optimizing deemph vs scale2x (should fix #375) 2021-06-17 22:32:48 -04:00
mjbudd77 359b5c3786 Slight size adjustments to PAL palette sliders. Since sharpness has less range than the others, size it smaller so that the others have finer control. 2021-06-17 21:27:54 -04:00
mjbudd77 b87452861c Merge branch 'master' of github.com:TASVideos/fceux 2021-06-17 20:44:54 -04:00
mjbudd77 9f85d445c5 Added logic to better size the comment area of Qt palette config window. 2021-06-17 20:44:26 -04:00
mjbudd77 39a50e46f4 Changed PAL palette emulation sensitivity logic for Qt palette config window. Now can only be used if PAL filter is active. 2021-06-17 20:21:42 -04:00
Alexey 'Cluster' Avdyukhin 701541432c More achive improvements/fixes 2021-06-18 02:50:15 +03:00
mjbudd77 38b8d8e9db Added config parameters to save state of PAL palette controls, force grayscale, and de-emphasis bit swap settings. 2021-06-16 23:00:40 -04:00
mjbudd77 92e983a7e8 Initial add of PAL emulation palette controls for Qt GUI. 2021-06-16 22:43:37 -04:00
mjbudd77 167bda0d37 Minor logic change for Qt gamepad button mapping initialization. If the user specifically choose keyboard in gamepad config, then don't attempt to match to a gamepad device. Use keyboard bindings instead. 2021-06-16 07:15:10 -04:00
mjbudd77 d295472df3 Increased icon size on Qt about fceux window. 2021-06-15 21:55:20 -04:00
mjbudd77 40046f6e7e
Merge pull request #374 from ClusterM/new-win-icon
New icon for Windows version
2021-06-15 21:28:15 -04:00
Alexey 'Cluster' Avdyukhin bc62eb3c2c Same icon for Qt and Win" 2021-06-16 02:47:49 +03:00
Alexey 'Cluster' Avdyukhin f3c622d248 Credits to Terwilf 2021-06-16 02:27:18 +03:00
Alexey 'Cluster' Avdyukhin 058ccfd319 New icon for Windows version 2021-06-15 19:37:32 +03:00
Alexey 'Cluster' Avdyukhin e1f67a0a86
Merge pull request #373 from ClusterM/archive-window
Resizable "open archive window" for Windows version
2021-06-15 14:28:27 +03:00
Alexey 'Cluster' Avdyukhin aa721d61a9 More informative error messages 2021-06-15 14:06:09 +03:00
Alexey 'Cluster' Avdyukhin a50fdb64aa Sizable "open archive" window (fix for #353) 2021-06-15 13:32:09 +03:00
mjbudd77 64bb9a8c51 Added undo/redo color operation functionality to the Qt palette editor. 2021-06-14 20:52:36 -04:00
mjbudd77 34290e747a Added more descriptive text to unsaved gamepad button mappings warning. 2021-06-13 22:40:35 -04:00
mjbudd77 2f0aa22b42 Fixed cut/paste error. 2021-06-13 22:20:22 -04:00
mjbudd77 279b7c0e58 Merge remote-tracking branch 'mjbudd77/master' 2021-06-13 22:01:52 -04:00
mjbudd77 49735af561 Updated hot key to gamepad binding logic for Qt GUI. 2021-06-13 22:00:45 -04:00
Alexey 'Cluster' Avdyukhin 2837e929d0 Fix for #370 2021-06-13 22:16:56 +03:00
mjbudd77 f6f868671e Added a hot key selection dialog for advanced gamepad function bindings. Makes it more intuitive to setup gamepad function bindings. 2021-06-13 14:19:30 -04:00
mjbudd77 2b0e4a8876 Change JS search loop to be more efficient on game pad config window. 2021-06-13 12:35:01 -04:00
mjbudd77 5f96a20385 Added JS/gamepad config hotplug functionality. Fixes for adding/removing devices while config window is open. 2021-06-12 22:32:06 -04:00
mjbudd77 55bf88547c Auto formated using vs code to fix tab vs spaces indentation issues. 2021-06-12 22:30:36 -04:00
Alexey 'Cluster' Avdyukhin d6769d052c Tabs, not spaces 2021-06-12 06:14:12 +03:00
Alexey 'Cluster' Avdyukhin 24600dece2 Merge branch 'master' of https://github.com/TASVideos/fceux 2021-06-12 06:11:42 +03:00
Alexey 'Cluster' Avdyukhin 9bee6d191d Added CRC32 for 'Super Mogura Tataki!!' (issue #344) 2021-06-12 06:11:17 +03:00
mjbudd77 da36b4afd8 Commented out redundant hot key set window activation. itemActivated and itemDoubleClicked signals are not both needed. A double click will also trigger itemActivated signal. 2021-06-11 23:09:10 -04:00
mjbudd77 e79f0159df Changed PAL filter name to PAL 3x to match recent win32 version changes. 2021-06-11 23:00:11 -04:00
mjbudd77 d5e2087ce1
Merge pull request #371 from ClusterM/grayscale-fix
Grayscale filter fix
2021-06-11 21:46:31 -05:00
Alexey 'Cluster' Avdyukhin d1b5301f64 Minor refactoring, comments 2021-06-12 04:47:01 +03:00
Alexey 'Cluster' Avdyukhin ac2818e3da Moved grayscale filter to ChoosePalette() 2021-06-12 03:55:04 +03:00
mjbudd77 2861067933 Fixed SDL video init for linux, force window to be reshown after calling SDL_DestroyWindow as the destroy calls hide. 2021-06-11 14:55:49 -04:00
mjbudd77 cdf2f1e150 Changed last commit to only affect windows builds, for some reason it does not work the same in linux. 2021-06-11 00:04:37 -04:00
mjbudd77 afdf192a46 Merge remote-tracking branch 'TasVideos/master' 2021-06-10 23:10:22 -04:00
mjbudd77 72de93bc94 SDL window initialization and resize logic fix. Should only be calling SDL_CreateWindowFrom once. Wait for window to full be created and initialized before attempting to init SDL video renderer. 2021-06-10 23:06:43 -04:00
Alexey 'Cluster' Avdyukhin 867a3e7838 Added UpdateMenuHotkeys() call after DriverInitialize to redraw tooltips with updated joystick numbers 2021-06-08 14:16:27 -04:00
Alexey 'Cluster' Avdyukhin 232394ba87 Reverted init order back, crashes on release build 2021-06-08 14:16:27 -04:00
Alexey 'Cluster' Avdyukhin bfbea5c398 Refactored input system for Windows version 2021-06-08 14:16:27 -04:00
Alexey 'Cluster' Avdyukhin 2d4f8eb7bd Minor fix to avoid warning 2021-06-08 14:16:27 -04:00
Alexey 'Cluster' Avdyukhin f22f48e46e For some weird reason NumLock and Pause keys are messed up - fixed 2021-06-08 14:16:27 -04:00
Alexey 'Cluster' Avdyukhin 7c6e7f5e15 Removed more unused stuff 2021-06-08 14:16:27 -04:00
Alexey 'Cluster' Avdyukhin 8733067f5b Ability to cancel keys input dialog 2021-06-08 14:16:27 -04:00
Alexey 'Cluster' Avdyukhin b88be3a9ee Removed huge amount of unused code 2021-06-08 14:16:27 -04:00
Alexey 'Cluster' Avdyukhin ab1264064c Migrated FCEUD_CommandMapping to ButtConfig, finally. 2021-06-08 14:16:27 -04:00
Alexey 'Cluster' Avdyukhin 91756a9593 Autohold migrated to ButtConfig, DWaitButton and DTestButton, code clean-up 2021-06-08 14:16:27 -04:00
Alexey 'Cluster' Avdyukhin 86cde43be2 Support for Z, RX, RY and RX joystick axes 2021-06-08 14:16:27 -04:00
Alexey 'Cluster' Avdyukhin ad1b126539 Ability to map 'win' keys, binding dialog fix 2021-06-08 14:16:27 -04:00
Alexey 'Cluster' Avdyukhin c5d59a24b5 Ability to bind key combinations using "DWaitButton", refactoring 2021-06-08 14:16:27 -04:00
Alexey 'Cluster' Avdyukhin 9efd26fe58 Holy Diver is not four-screen at all, proof: http://bootgod.dyndns.org:7777/profile.php?id=4038 2021-06-06 16:33:20 +03:00
feos d146718204 don't automatically force deemph swap since it's configured in palette manually 2021-06-05 21:09:57 +03:00
feos c2606a54cf I was begged to restore pal simulation 2021-06-05 14:28:05 +03:00
zeromus 84ae911e09 for some reason 7z dropped the signature for zip at some point.
so add our own PK signature checker
2021-06-05 05:16:26 -04:00
zeromus f92b4ae541 add 64bit 7z.dll to fix #361 2021-06-05 04:53:32 -04:00
mjbudd77 b1b9b50f7b Fixed logic issue so that the main window size is not saved if the screen is in full or maximize modes. Only save previous screen size to config if in normal window mode. This prevents the next start of fceux setting the initial window size to close to maximum. 2021-06-04 20:53:11 -04:00
mjbudd77 c808d1f2d0 Merge branch 'master' of https://github.com/mjbudd77/fceux 2021-06-03 20:01:29 -04:00
mjbudd77 d9f10a960f Added a fix for fullscreen Qt opengl based windows. This addresses a known Qt issue referenced here: https://doc.qt.io/qt-5/windows-issues.html#fullscreen-opengl-based-windows 2021-06-03 20:01:22 -04:00
mjbudd77 d46ef48d55 Changed video scanline entry fields to use QSpinBox instead of QLineEdit. The spin box has better range limiting controls. 2021-06-02 22:56:25 -04:00
mjbudd77 b97b652df7 Added PPU overclocking feature to Qt GUI. 2021-06-02 07:09:13 -04:00
mjbudd77 a9f6dafa15 Added a list of open source dependencies that the application has been compiled against for debug traceability. 2021-06-01 21:43:49 -04:00
mjbudd77 a849cdcd2f Added decor icons to buttons on custom autofire pattern dialog window. 2021-06-01 20:57:29 -04:00
mjbudd77 32d26df3de Added logic to not resize Qt main window when applying video settings if screen is in fullsize or maximize modes. 2021-06-01 20:11:07 -04:00
mjbudd77 df03d4581b Added code to destroy SDL window handle when SDL video driver is deleted. 2021-05-31 21:41:35 -04:00
mjbudd77 1de4aea0a8 Added code to reload cursor image any time the Qt video driver is changed. 2021-05-31 21:27:41 -04:00
mjbudd77 bab53e8433 Cleaned up dead code. 2021-05-31 21:00:44 -04:00
mjbudd77 842aab44aa Added logic to also init SDL mouse cursor shape in addition to Qt just incase SDL is drawing mouse cursor. 2021-05-31 20:47:57 -04:00
mjbudd77 b61b30e0bb Re-enabled all Qt sound control sliders. At least until it is determined what should be disbaled when low quality is selected. 2021-05-31 20:00:36 -04:00
mjbudd77 7c0413b5ac For Qt GUI, added code to build windows fceux.ico icon into application. 2021-05-30 20:52:42 -04:00
mjbudd77 ced185df89 For Qt GUI, added logic to clear screen to black pixels on ROM close. 2021-05-30 11:19:14 -04:00
mjbudd77 68e43eeb6b Bug fix for NTSC 2x and PAL special scalers with 8px side clipping active. 2021-05-30 11:07:09 -04:00
mjbudd77 4ab45b82d8 Added logic to disable square2, noise, and pcm sliders on Qt sound config window if low sound quality is active. 2021-05-29 23:00:44 -04:00
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 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 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 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 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
mjbudd77 5fcad9507e Added nametable tile palette view widget. 2021-04-21 20:46:02 -04:00
mjbudd77 2ef01ec824 Added palette hex codes to ppu palette views. 2021-04-21 20:12:41 -04:00
mjbudd77 6fddbb3f41 Minor spelling fix. 2021-04-20 22:53:12 -04:00
mjbudd77 5ec2c5efdc Fixed small memory leak in Qt debugger asm viewer. 2021-04-20 22:26:28 -04:00
mjbudd77 867ad36a2d Change sprite viewer layout to be more compact. 2021-04-20 21:49:33 -04:00
mjbudd77 b8cb24499f Added logic to make force the default Qt style to be a known good value. This is windows style for windows platform and fusion style for linux and mac osx. Depending on which Qt style plugins are installed on the OS, certain ones are known to be unstable (such as gtk2 style). 2021-04-18 19:18:05 -04:00
mjbudd77 72588e0eec Minor adjustments to sprite preview resizing logic. 2021-04-17 09:02:18 -04:00
mjbudd77 922c34c00e Added sprite preview area sizing options to menu. 2021-04-17 07:25:44 -04:00
mjbudd77 a09121b28d Added logic to increase size of sprite preview area. 2021-04-17 07:11:29 -04:00
mjbudd77 838ba76284 Modified sprite viewer data field boxes to use monospace font for both ease of reading and calculating minimum pixel width to fully display data. 2021-04-17 06:48:30 -04:00
mjbudd77 83e2d36480 Added logic to allow the sprite preview area to be hidden if desired. 2021-04-17 06:32:14 -04:00
mjbudd77 53047762c4 Implemented first cut at sprite preview area. 2021-04-17 06:11:42 -04:00
mjbudd77 9d138bd8eb Added an option to show sprite X/Y coordinates in either decimal or hex. 2021-04-16 20:08:51 -04:00
mjbudd77 82b0bdbc4e Added a quick tile selection link from sprite viewer to PPU CHR viewer via context menu. 2021-04-16 15:51:55 -04:00
mjbudd77 76b82b289a Fixed sprite viewer crashes when no ROM is loaded. 2021-04-16 15:35:47 -04:00
mjbudd77 187522b4cc Hooked up sprite viewer window menu options. 2021-04-16 15:25:49 -04:00
mjbudd77 d7773c7b3d Added arrow key logic for sprite viewer. 2021-04-16 14:49:29 -04:00
mjbudd77 3613a7da4e Hooked up sprite info data fields. 2021-04-16 14:42:39 -04:00
mjbudd77 369459ba63 Added data fields sprite viewer. 2021-04-16 09:50:23 -04:00
mjbudd77 ad5c666268 Added sprite viewer mouse selection logic. 2021-04-16 09:09:30 -04:00
mjbudd77 42ac942e23 Fixed sprite viewer addressing errors. First successful viewing of sprite table. 2021-04-16 08:44:04 -04:00
mjbudd77 26e5e46da8 Sprite viewer in work. 2021-04-15 22:52:27 -04:00
mjbudd77 029cea534c Hooked up validity states for a few Qt main menu items. 2021-04-12 21:42:57 -04:00
mjbudd77 d84e4c3663 Fixed a few memory leaks caught by valgrind tool. 2021-04-12 20:40:55 -04:00
mjbudd77 1a8369f1b3 Added event accept lines for console window key events. Helps improve mac os responsiveness. 2021-04-12 20:06:49 -04:00
mjbudd77 5cea05d183 Changed default behavior of pausing when main menu is active to false. 2021-04-12 06:28:04 -04:00
mjbudd77 904652efa9 Changed GetModuleFileName calls to GetModuleFileNameA to ensure that the 8 bit character version is used. Fixes build errors with Qt6 using C++17. 2021-04-12 06:27:04 -04:00
mjbudd77 c1d6d7f4cf Another TCHAR substitution for char to fix Qt6 build error. 2021-04-11 22:36:54 -04:00
mjbudd77 eb1393367e Changed TCHAR to regular char type to fix build error in lua-engine for windows builds. 2021-04-11 22:11:31 -04:00
mjbudd77 229705f693 Updated Mac OSX appveyor pipeline to build against Qt6 2021-04-11 20:56:47 -04:00
mjbudd77 ca232c8b3c Added Qt6 build option to Cmakelists. 2021-04-11 20:34:43 -04:00
mjbudd77 806486e13d Build fixes for Qt6 on Mac OSX. 2021-04-11 17:39:37 -04:00
mjbudd77 27bb85f282 Added logic to make Qt GUI main menu access pause emulation functionality a configurable parameter. 2021-04-11 15:25:24 -04:00
mjbudd77 9e92e28419 Fix for mismatch class/struct declaration. 2021-04-11 14:05:40 -04:00
mjbudd77 c790f1481c Added logic to Qt GUI to produce an error message dialog in the event that an ambiguous activation of conflicting hot key sequences occurs. 2021-04-11 13:53:34 -04:00
mjbudd77 5f40358a06 Added code for Qt GUI to pause emulation when main menu is active. This feature is currently disabled. 2021-04-11 13:10:09 -04:00
mjbudd77 86edfd490a Changed Qt warnings to not display as error dialogs, instead just prints
to main log.
2021-04-10 09:40:20 -04:00
mjbudd77 7f85544e63 Bug fix for Qt GUI family keyboard conflicting with new hot key shortcuts. 2021-04-08 20:50:51 -04:00
mjbudd77 19891e1155 Bug fix for Qt GUI emulation speed up/down hot keys. 2021-04-06 22:54:29 -04:00
mjbudd77 caa9e67544 Bug fixes for Qt GUI load/save state hot keys. 2021-04-06 22:44:49 -04:00
mjbudd77 40668462a8 Qt Hot Key title window logic in work. 2021-04-06 22:02:02 -04:00