Commit Graph

4973 Commits

Author SHA1 Message Date
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
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