Commit Graph

4004 Commits

Author SHA1 Message Date
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
Matthew Budd 9ac2803533 Added logic to get NES ROM address from RAM location for context menu. 2020-05-22 09:30:16 -04:00
Matthew Budd b731245171 Added a few context menu items. TODO create callback functions for them 2020-05-22 09:19:45 -04:00
Matthew Budd 475464cca2 Added logic to display a label showing the address of the cursor selected memory location in hex editor. 2020-05-22 09:00:07 -04:00
Matthew Budd c05c85bcfd Added popup context menu framework for memview. 2020-05-21 22:07:10 -04:00
Matthew Budd 364ae8c689 Added callback for context menu on memview window. 2020-05-20 21:48:39 -04:00
Matthew Budd 5db17d7913 Cleaned out treeview logic in favor of text view. Text view is much more efficient. 2020-05-19 01:00:14 -04:00
Matthew Budd 284a787104 bug fix for memory poke logic. 2020-05-19 00:51:03 -04:00
Matthew Budd fe4d1f85af Successful test of poking into RAM with hex editor in text view. 2020-05-19 00:30:24 -04:00
Matthew Budd 41cfd69fe2 Successful display of memview. 2020-05-19 00:03:30 -04:00
Matthew Budd 267966b0b3 Text View hex editor in work. 2020-05-18 22:03:58 -04:00
Matthew Budd 6460a3035b Tree view inner / outer slider functions but is not ideal. Going to try out text view object instead. 2020-05-18 08:29:05 -04:00
Matthew Budd 90482feac8 Memview successful initial test, but performance is slightly lacking. Going to change tree view logic. 2020-05-17 11:36:55 -04:00
Matthew Budd 3c10dcc1fd Added logic to allow for writing into memory via the mem view hex editor. 2020-05-16 23:50:58 -04:00
Matthew Budd 5834dd3661 Added memory view window framework. Still TODO memory poke functionality. 2020-05-16 22:17:24 -04:00
Matthew Budd 9dcad0b211 Bug fix for gamepad configuration when using keyboard inputs. 2020-05-16 18:50:29 -04:00
Matthew Budd c7f9a4257a Bug fixes for screen sizing at startup with a ROM specified on the command line. 2020-05-16 15:06:40 -04:00
Matthew Budd 74923eaccc Removed static hotkey string array from global header and added an accessor function. 2020-05-16 13:16:24 -04:00
Matthew Budd 26f36da7e7 Another bug fix for gamepad config loading at startup, the first fix was in the wrong place. Removed static video variable from header. 2020-05-16 11:13:24 -04:00
Matthew Budd 00e316b521 Bug fix for loading gamepad config at startup. 2020-05-16 10:40:57 -04:00
Matthew Budd 01c60c4dc1 Bug fix for displaying button names when reloading gamepad config window. 2020-05-16 10:14:37 -04:00
Matthew Budd e5e02e20f4 Bug fix for gamepad key name display when calibrating buttons. 2020-05-16 09:47:13 -04:00
Matthew Budd b63772b774 Removed debug print statement. 2020-05-16 09:19:25 -04:00
Matthew Budd c3e4db0faa Hotkey selected state cleanup. Sync gui menu selected state when state changes occur via hotkeys. Removed deprecated gtk widgets from sdl/input.cpp. 2020-05-16 09:09:36 -04:00
Matthew Budd 3573a596e9 Added logic to the deb pkg script to not put duplicate entries into the pkg depends list. 2020-05-16 07:38:20 -04:00
Matthew Budd 09d84283cd bug fix for test install of debian pkg 2020-05-15 21:27:17 -04:00
Matthew Budd e70b38cf5f Bug fixes for debian package builder script. Added package build to pipeline. 2020-05-15 21:17:54 -04:00
Matthew Budd 2f00e3517b Added debian package creation script. 2020-05-15 20:12:21 -04:00
Matthew Budd 172dffec55 Changed window size variables in gui to be static as their is no reason to export them to the linker. 2020-05-15 17:08:13 -04:00
Matthew Budd 5173b85ac1 Added logic to check if the screen size has actually changed in the window configure event callback. Do not reset video is screen size is the same. This prevents annoying screen flickering during transitions to/from full screen mode. 2020-05-15 17:02:33 -04:00
Matthew Budd 017ee17ee1 Updated linux ubuntu build script to latest 2020-05-15 16:14:03 -04:00
Matthew Budd 8339508f21 Added an appveyor pipeline configure file to allow for a side by side build of both the windows and linux application. 2020-05-15 16:06:18 -04:00
Matthew Budd bcbac77084 When a lua script is provided on the command line with the --loadlua option. Added code to always resolve any relative file path to an absolute as the lua core changes the current working directory which then invalidates the relative pathing from where the current working directory was at the time the program had initially been started. 2020-05-14 23:47:57 -04:00
Matthew Budd 7fb5ed52c4 Removed --fix-missing references from pipeline script. The issue with the pipeline lies on the microsoft side with there linux package servers. There is nothing that can be done here. 2020-05-14 20:04:49 -04:00
Matthew Budd 0605427979 Added --fix-missing to apt-get sdl1 due to pipeline virtual machine failing to download all dependencies 2020-05-14 19:08:14 -04:00
Matthew Budd 87d3db2406 Added screen dimension limits. Added some debug statements to pipeline script. 2020-05-14 18:16:04 -04:00
Matthew Budd 1ba5929ea2 Modified screen display logic to always center image in the center of the window. 2020-05-14 09:16:09 -04:00
Matthew Budd f162600f54 Added clean before build in pipeline. 2020-05-14 07:55:57 -04:00
Matthew Budd 9f615d6f81 Found a better way to clear the screen to a black background. 2020-05-14 07:55:06 -04:00
Matthew Budd c702a86b67 commented out window configure print statements. 2020-05-13 22:00:00 -04:00
Matthew Budd 575e090aff Ran indent program on new cheat and ramwatch cpp files to apply hard tabs. 2020-05-13 21:13:22 -04:00
Matthew Budd 699069b7ee Ran indent program to gui.cpp to re-apply hard tabs. 2020-05-13 21:07:31 -04:00