Commit Graph

2494 Commits

Author SHA1 Message Date
Matthew Budd 26e320b163 Bug fix for small memory leak on window init. 2020-07-09 21:38:31 -04:00
Matthew Budd 67b7c34576 Added change state select menu radio button logic. 2020-07-09 21:33:53 -04:00
Matthew Budd 0d8c442b35 Added a few state load menu items. 2020-07-09 21:00:04 -04:00
Matthew Budd 5958dc18fb Added fullscreen menu function. 2020-07-07 21:45:24 -04:00
Matthew Budd d87b5c7ab7 Added logic for auto-resume play menu item. 2020-07-07 21:26:15 -04:00
Matthew Budd 46271dfa61 Added video region combo box logic. 2020-07-07 21:06:24 -04:00
Matthew Budd ea1782bfe5 Added checkbox logic for video config window. 2020-07-07 20:53:31 -04:00
Matthew Budd 313bba68f9 Added missing tr function calls around string literals. 2020-07-07 18:49:58 -04:00
Matthew Budd ce0a8fdf63 Added framework for video config window. Still TODO writing logic. 2020-07-07 08:59:47 -04:00
Matthew Budd b2c094a6bf Added QT Hotkey configuration window. 2020-07-06 21:44:23 -04:00
Matthew Budd 1a99903933 Changed name of main window periodic update function so that is not the same name as QWidget base update function. 2020-07-05 22:10:28 -04:00
Matthew Budd f9b5796ef0 Created a local buffer for the openGL video image to better sync the image with the drawing frame in the gui thread. 2020-07-05 21:40:19 -04:00
Matthew Budd 4dca42bfca Moved the physical input update to the main thread since the MAC OS X SDL2 requires it to be so. 2020-07-05 21:16:31 -04:00
Matthew Budd 70a00fab13 Added mutex sync when changing sound properties of the emulator. 2020-07-05 16:54:33 -04:00
Matthew Budd ac43cc3e62 Renamed gameViewer to ConsoleViewer. 2020-07-05 16:44:36 -04:00
Matthew Budd 824bdda083 Renamed a few of the files and class objects to be more appropriate to what the actually are. 2020-07-05 16:37:26 -04:00
Matthew Budd f2e7b66c61 changed QThread setup to be a separate object from the console window. 2020-07-05 16:27:13 -04:00
Matthew Budd acc02ee98e Moved FCEU emulation to its own thread for better timing control. 2020-07-05 16:11:53 -04:00
Matthew Budd c496c0f281 Added logic to increase/decrease emulation speed via hotkeys using QTimer system. Bug fix for = key Qt to SDL mapping. 2020-07-03 21:52:27 -04:00
mjbudd77 72141845f0 Changed gl_shm name to nes_shm. Added audio circular buffer to shared memory. 2020-07-03 15:58:53 -04:00
Matthew Budd 7eca2978ed Minor removal of underscored F on File menu. 2020-07-02 21:08:46 -04:00
Matthew Budd 91e5427258 Successful test of full sound config window functionality. 2020-07-02 21:05:08 -04:00
Matthew Budd 021452b7f0 Sound configure window in work. 2020-07-02 20:49:52 -04:00
Matthew Budd afc3a61014 Started putting together window framework for sound configuration. 2020-07-01 22:03:59 -04:00
mjbudd77 104f7c465e Updated init call for game viewer SDL to match GL. 2020-06-30 20:04:17 -04:00
mjbudd77 d38f1b0c1b Build fix for minizip include in MAC OS 2020-06-30 20:00:29 -04:00
mjbudd77 2762d53791 Cleaned up game viewer GL. 2020-06-30 19:53:29 -04:00
mjbudd77 e2b853661d More testing with SDL game viewer driver, keeps drawing over the menu
bar on the mac os. Thinking native GL inside QT is the way to go.
2020-06-30 09:22:59 -04:00
mjbudd77 41b54b9813 Solved MAC OpenGL scaling issue. Turns out it was related to the retina
screen having a 2x device to framebuffer scaling.
2020-06-29 23:24:41 -04:00
Matthew Budd c6b46bfcc1 Added software pixel remapper function to openGL renderer. 2020-06-29 22:24:34 -04:00
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