Commit Graph

2514 Commits

Author SHA1 Message Date
Matthew Budd 26fe3c7da5 Added logic to keep proper aspect ratio on SDL driven screen. 2020-06-29 21:13:05 -04:00
Matthew Budd 53dcb48a90 Successful test of SDL video driver inside QT window. 2020-06-29 10:11:02 -04:00
Matthew Budd 95d055da2c Renamed openGL based game viewer so to distinguish it from others that will be tested. 2020-06-29 08:15:26 -04:00
Matthew Budd 970afc2bea Added logic to use GL_TEXTURE_RECTANGLE instead of GL_TEXTURE_2D 2020-06-28 10:11:03 -04:00
Matthew Budd 59462545ca Gui controller calibration fixes and enhancements. 2020-06-27 21:08:02 -04:00
Matthew Budd 7ba7ef4b82 Include path fixes for qmake incorrectly marking sdl folder for heading includes. 2020-06-27 20:07:24 -04:00
Matthew Budd 1980dd8c5b Game Pad calibration page still in work. 2020-06-26 21:56:26 -04:00
Matthew Budd cb664b44a0 commented out debug print statement. 2020-06-26 20:32:44 -04:00
Matthew Budd 950004503b Hooked up checkboxes on gamepad config page. 2020-06-26 20:27:20 -04:00
mjbudd77 002e9e0f34 Added logic to configure gamepad buttons. Still needs more testing. 2020-06-26 16:35:41 -04:00
Matthew Budd ee02883ac7 QT gamepad window in work. 2020-06-26 12:46:48 -04:00
Matthew Budd f1153bfc6b Successful test of loading ROM via QFileDialog, changed logic to not use native gnome file dialog as it is very lagged. 2020-06-26 09:29:47 -04:00
Matthew Budd d6ff002af0 Added keyboard QT to SDL2 key conversion functionality. 2020-06-24 21:57:43 -04:00
Matthew Budd f53bbc8cde Added logic to close game and shutdown FCEU system on window close. 2020-06-23 23:04:10 -04:00
Matthew Budd 095415790c Cleaned up unnecessary test code. 2020-06-23 22:55:48 -04:00
Matthew Budd 0352483a19 Successful display of video in QT gui. 2020-06-23 22:51:10 -04:00
Matthew Budd be4c650238 Starting new QT gui. 2020-06-23 20:40:43 -04:00
Matthew Budd fb9ee25800 Bug fix for cmake install target. 2020-06-20 00:54:26 -04:00
Matthew Budd 70a77cbe41 Added install target to cmake. 2020-06-20 00:53:18 -04:00
Matthew Budd 9a30cce921 Fixed compiler warning for unchecked fgets return value. 2020-06-20 00:39:44 -04:00
Matthew Budd 6271d63ba6 Added cmake package check for zlib 2020-06-20 00:36:43 -04:00
Matthew Budd 714e7bbfb2 Added logic to make cmake output verbose. 2020-06-20 00:20:58 -04:00
Matthew Budd 36b9cf3fb3 Fixed references to print error function in win tas editor. 2020-06-20 00:13:08 -04:00
Matthew Budd cc15338ebb Cast const char * to char * to get past winbuild.... this is not the best way to go, but it works. 2020-06-20 00:06:47 -04:00
Matthew Budd 7919071a25 Cleaned up gcc compiler warning : ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2020-06-19 23:58:12 -04:00
bbbradsmith 79c42a8eea manifest pragma to specify windows common controls version 6
(64-bit bit version uses older control styles without this)
2020-06-18 05:18:27 -04:00
bbbradsmith 1f4bc4bb89 fix long pointer casting in Win64 build 2020-06-17 03:21:41 -04:00
Matthew Budd ad69657d02 Resolved a few more cppcheck/compiler warnings in core input module. 2020-06-15 22:53:45 -04:00
Matthew Budd e6329b911a Resolved cppcheck warnings in win/header_editor.cpp 2020-06-15 22:21:54 -04:00
Matthew Budd 96cba27965 Resolved cppcheck warnings in cheats.cpp. 2020-06-15 22:09:12 -04:00
Matthew Budd 9eaad6e14d Revolved Deallocating a deallocated pointer: buf warning in archive.cpp. 2020-06-15 21:58:13 -04:00
Matthew Budd ce03bf18e7 Resolved cppcheck warnings in OutputDS.cpp 2020-06-15 21:48:32 -04:00
Matthew Budd 9748d39169 Resolved dangerous usage of c_str(). The value returned by c_str() is invalid after this call 2020-06-14 20:11:59 -04:00
Matthew Budd c5bbd3cec5 Added uninitialized class members to constructor for debug window. 2020-06-14 19:55:36 -04:00
Matthew Budd f5e8b09200 Bug fix for enable/disabling of glx double buffering. Single buffering allows for faster emulation rates, double buffering is not allowing faster than 60hz due to vsync. 2020-06-14 10:15:47 -04:00
Matthew Budd a1c0e86026 Code cleanup, found that rendering of openGL graphics are limiting the max frame speed to 60 hz. Have not solution for it yet. 2020-06-13 20:07:01 -04:00
Matthew Budd b4b2cca9ec Bug fix for menu visibility toggle. 2020-06-13 12:51:57 -04:00
Matthew Budd 6de7a68149 Added a TODO for fixing the menu bar hide function. 2020-06-12 21:34:18 -04:00
Matthew Budd 6dd0ef841e Cleaned up unused variable. 2020-06-12 20:51:46 -04:00
Matthew Budd c440b8127e Bugfix for GUI hanging when gamepad config window is closed while waiting a button press. 2020-06-12 20:34:26 -04:00
Matthew Budd d340c1465e Removed the last of the SDL1 specific functions. 2020-06-12 19:48:51 -04:00
Matthew Budd 47ad3b1dee More SDL1 cleanup. 2020-06-12 19:40:46 -04:00
Matthew Budd 0a61bab99e More SDL1 cleanup. 2020-06-12 19:14:26 -04:00
Matthew Budd 4cbfed2a72 Clean up of input and video files. Removed SDL1 code. 2020-06-12 18:59:38 -04:00
Matthew Budd 1463e7c0f8 Added logic to now pass ALT + Return to the SDL event queue as the is fullscreen toggle that is handled by GTK. 2020-06-09 22:09:29 -04:00
Matthew Budd d086714040 Bug fix for full screen mode update. 2020-06-09 21:47:07 -04:00
Matthew Budd cfbe2dc5f3 Bug fixes for GL linear filters and double buffering options. 2020-06-09 09:23:32 -04:00
Matthew Budd 3e2802a2de Bug fix for switching between openGL and cairo graphics contexts. 2020-06-09 08:44:51 -04:00
Matthew Budd 9db334275f Added logic to allow for switching from openGL to cairo draw functions. There is still an issue with the GTK draw update stops getting called when switch from openGL to cairo. 2020-06-08 09:14:01 -04:00
Matthew Budd 79b796f790 Implementing secondary cairo interface. 2020-06-07 13:58:09 -04:00
Matthew Budd 5bbbd0e8e7 Successful use of GLX openGL inside gtk3 window. This eliminates the need for SDL video. 2020-06-07 10:54:00 -04:00
Matthew Budd 4f27c58856 Moved poor performing cairo draw routines into their own functions. Removed GtkGlArea experimental code that did not work. 2020-06-07 09:32:47 -04:00
Matthew Budd 76df04d830 Added an experimental shared memory interface to allow for the video window to be a separate process. 2020-06-06 22:53:34 -04:00
Matthew Budd 6b406e411f Bug fixes for SDL2 keyboard interaction. 2020-06-06 09:02:36 -04:00
Matthew Budd 8c2cea1ed4 Added logic to change how full screen mode works with cairo drawing. 2020-06-05 21:23:33 -04:00
Matthew Budd 1fc0725e94 Successful display of graphics using cairo. Not as efficient as other methods but works. 2020-06-05 21:08:53 -04:00
Matthew Budd 88e0c838e2 Merge https://github.com/TASVideos/fceux 2020-06-05 07:37:16 -04:00
Matthew Budd a59f1421b5 Added logic to refresh video display with last pass image data when inside debug loop. 2020-06-02 05:02:43 -04:00
Matthew Budd a25a5c914c Added a refresh list button to the active cheat list window to allow for the displayed list to be resync'd to the true active cheat list in case a new game ROM is loaded and new cheats are automatically loaded as a result. 2020-06-01 09:37:36 -04:00
Matthew Budd f929a7cc23 Added logic to cheat search window to make all sorting buttons insentive until the search reset button is hit once. 2020-06-01 09:32:51 -04:00
Matthew Budd a58f5dc5e0 Added logic to make cheat window edit/delete buttons insensitive unless a row is selected in treeview list. 2020-06-01 09:19:55 -04:00
zeromus 322c671ea7
Merge pull request #114 from owomomo/master
Bookmark description in the Hex Editor can be directly edit
2020-05-31 16:13:46 -05:00
zeromus 74b11ae84c
Merge pull request #103 from bbbradsmith/lua_zapper_set
zapper.set for lua
2020-05-31 16:13:29 -05:00
Matthew Budd 1ace69f5f9 Updated cheat list tree view to update entry fields when a line in the tree is selected with corresponding to the selected lines data. 2020-05-31 14:53:54 -04:00
Matthew Budd 51be2877ef Added logic to set registers via text entry boxes prior to running new instructions in debugger window. 2020-05-31 14:28:49 -04:00
Matthew Budd 8a0165f54b changed unimplemented functions on debugger window to be have insensitive widgets for now. 2020-05-31 13:53:07 -04:00
Matthew Budd acbd2cf3c8 Added logic to debugger to make breakpoint edit/delete button sensitive only when a breakpoint is selected in the tree view. 2020-05-31 13:48:58 -04:00
Matthew Budd 358a2309db Created separate debug menu for debugger and hex editor on main window. 2020-05-31 10:11:52 -04:00
Matthew Budd 34e8afe39d Bug fix for memory view window when handling large ROM displays. 2020-05-31 06:48:37 -04:00
Matthew Budd 9eab3f9e5d Added logic to sync memview activity coloring menu options at startup. 2020-05-30 19:44:30 -04:00
Matthew Budd 8c04403062 Added logic to allow for configurable coloring on memory view window. 2020-05-30 17:20:06 -04:00
Matthew Budd b7877f1a5e Added configurable fore and back ground color picking for memview window. 2020-05-30 11:26:36 -04:00
Matthew Budd a92874a5b6 Added logic to sync memory last pass values at startup. 2020-05-29 17:19:44 -04:00
Matthew Budd 7500446b2c Changed memory buffer setup to allow for color and activity data to be stored for each address. 2020-05-29 16:53:20 -04:00
Matthew Budd 6e33c48a1f Added memory view highlight activity coloring. Still TODO, add logic to switch colors in menu. 2020-05-29 15:00:33 -04:00
Matthew Budd d362161269 Added logic to only allow select key presses through to the textview widget on the debugger window. 2020-05-29 09:30:07 -04:00
Matthew Budd 5e0cbc1cbc Improved logic for hex editor button inputs. 2020-05-29 09:24:28 -04:00
Matthew Budd 0d9b9254ff memory viewer (hex editor) window viewport calculation improvement. Much more accurate and efficient than previous. 2020-05-29 06:52:53 -04:00
Matthew Budd 4c3bf6cf6c Removed automatic condition insertion on asm debug breakpoint entry window. 2020-05-28 21:57:40 -04:00
Matthew Budd 05de1a8356 Added PPU data display to debug window. 2020-05-28 21:54:14 -04:00
Matthew Budd 7d08906a89 Efficiency fixes for the debugger asm text view window. 2020-05-28 21:30:12 -04:00
Matthew Budd d15623b7e6 Added logic to seek the PC on the debug window every time a breakpoint is hit. 2020-05-27 06:46:20 -04:00
Matthew Budd 27e326ce90 Added seek to PC and seek to Addr logic. 2020-05-27 05:48:38 -04:00
Matthew Budd 64444129c3 Added callback functions for editing break cycle/instruction limit text fields 2020-05-25 20:44:39 -04:00
Matthew Budd 20af463419 Added a few hooks for break on cycles, instructions and bad opcode checkboxes. Still TODO add break cycle/instruction limit set logic. 2020-05-25 20:28:42 -04:00
Matthew Budd 41e1bdc592 Added logic to context menu to prefill breakpoint add popup. 2020-05-25 20:06:16 -04:00
Matthew Budd db17dc06e6 Added logic to capture asm list. 2020-05-25 09:28:22 -04:00
Matthew Budd c50b5581d6 Added logic to sync breakpoint edit window parameters to actual state upon opening. 2020-05-25 08:11:01 -04:00
Matthew Budd 2755c9cdb2 Added logic to allow for use of a enable checkbox to next to each breakpoint in the list 2020-05-24 21:31:29 -04:00
Matthew Budd 9f009a1850 Successful test of basic debugger functions. 2020-05-24 21:10:10 -04:00
Matthew Budd 613dd479d4 Added logic to set values for debugger window register displays. 2020-05-24 12:50:13 -04:00
Matthew Budd df236e3628 Added framework for breakpoint add/edit window. 2020-05-24 11:06:31 -04:00
Matthew Budd 4c199ef4fe Added initial framework for debugger window. 2020-05-23 23:25:28 -04:00
Matthew Budd 69790db498 Initial framework for debugger window in work. 2020-05-23 22:37:31 -04:00
Matthew Budd 40379a32dc Added a memory write boundary protection in the ram watch window to prevent users from writing into ROM memory area. 2020-05-23 16:28:43 -04:00
Matthew Budd c46d3e2a9d Added logic to clear edited row and column indices on null pointer error in RAM watch window. 2020-05-23 16:22:56 -04:00
Matthew Budd 484f299107 Added a NULL check to prevent crash in RAM watch window. 2020-05-23 16:20:40 -04:00
Matthew Budd 11d02a31c4 Added logic in memview window to make set address and value entry windows exit on an enter key press. 2020-05-23 16:09:14 -04:00
Matthew Budd 6947f2bd05 Bug fix for GUI initialization with a specified game on the command line. Sometimes the X-server needs a little more time to initialize the window. Added a short 0.1 sec usleep at startup to give X the time it needs. A few more cppcheck warning fixes made as well. 2020-05-23 15:08:03 -04:00
Matthew Budd 04a4b6de74 Added more functionality to the memview window. Now can view all memory types. New context menu allows for seeking to a new location by address, poking memory locations, and jumping from RAM to ROM. 2020-05-23 14:56:42 -04:00