Commit Graph

4170 Commits

Author SHA1 Message Date
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
mjbudd77 4cc02ed25b More Qt GUI hot key fixes for new setup. 2021-04-06 21:23:41 -04:00
mjbudd77 0419e22179 Further hot key rework, fixed Qt Turbo hot key function. 2021-04-05 22:42:59 -04:00
mjbudd77 2f2abfdbb2 Bug fixes for a few Qt hot key shortcuts. 2021-04-05 22:09:59 -04:00
mjbudd77 e0f5c3c58e Added code to fix Qt key sequences to avoid impossible combinations. 2021-04-05 21:01:50 -04:00
mbudd02 7acaf7f2bd Added more error logging to Qt GUI. 2021-03-30 09:06:27 -04:00
mbudd02 7ccfd43a98 Added code to route Qt GUI/Core messages to message log. 2021-03-30 08:44:31 -04:00
mbudd02 adc08cfd1d Added a set defaults button to Qt hot keys window. 2021-03-30 08:13:45 -04:00
mjbudd77 1d7dd522ba Changed Qt GUI hot key set logic to be more like Win32 version. Each key now spawns a set/clear key state dialog window. 2021-03-30 04:32:00 -04:00
mjbudd77 cf7d23694c Added checkboxes to enable/disable hot keys. 2021-03-29 20:59:30 -04:00
mjbudd77 cbdd6e43d9 Further hot key config rework. 2021-03-29 20:52:58 -04:00
mjbudd77 da401d9833 Qt hot key rework intermediate commit. 2021-03-29 20:04:29 -04:00
mjbudd77 5a9010b8e2 Qt hot key rework intermediate commit. 2021-03-29 17:39:19 -04:00
mjbudd77 3505e81710 Reworking of Qt Hot Keys. Intermediate commit. 2021-03-27 22:44:55 -04:00
mjbudd77 18c7c95ef3 Added logic to allow switching the Qt GUI video driver while program is running with out needing a restart... although a restart is still probably the safest. 2021-03-25 20:20:01 -04:00
mjbudd77 4be5045fc7 Added logic to filter out standalone modifier keys when setting game pad button to key sequence remaps. 2021-03-25 06:28:31 -04:00
mjbudd77 739dc2a16d Run keyboard command processing on every key event to make sure none are missed. 2021-03-25 04:50:31 -04:00
mjbudd77 b810164759 Added logic to allow for advanced key sequence options to be shown/hidden on game pad window. 2021-03-24 22:21:53 -04:00
mjbudd77 41caf1500f Game pad key sequence tree column title fixes. 2021-03-23 22:20:24 -04:00
mjbudd77 c3b911ab5c Added logic for gamepad key remap edit and delete buttons. 2021-03-23 22:07:22 -04:00
mjbudd77 c753820d32 Successful test of basic gamepad button remapping to keyboard sequences. 2021-03-23 21:38:13 -04:00
mjbudd77 16fc02daaf Advanced game pad button to key remapping in work. 2021-03-22 22:57:53 -04:00
mjbudd77 96dfa954e1 Advanced game pad key sequence mapper in work. 2021-03-22 22:24:50 -04:00
mjbudd77 13d93f1b84 Added initial window layout for advanced gamepad key binding feature. 2021-03-21 21:11:16 -04:00
mjbudd77 3836e03f53 Merge branch 'master' into gp-function_binding 2021-03-21 20:05:21 -04:00
mjbudd77 099f5820e2 Bug fix for hot key toggling of background render plane for Qt GUI. 2021-03-21 19:47:00 -04:00
mjbudd77 04caf3a03f Added logic to process all QCoreApplication events in main window loop to ensure that GUI stays responsive when rendering slows app execution down. Mac OS OpenGL was causing odd event processing delays. So now we will ensure all events are processed before attempting any rendering. 2021-03-21 18:31:20 -04:00
mjbudd77 b942f07e9f Minor correction to Lua script path line edit box. Added clear buttons for line edit boxes on Lua console window. 2021-03-21 15:00:39 -04:00
mjbudd77 26ee4ea14a Force default mac OS path separator to be / instead of old style : 2021-03-21 14:32:16 -04:00
mjbudd77 95aa96a14e Aspect ratio pixel scaling fixes for Qt GUI. For issue #341. 2021-03-21 13:47:12 -04:00
mjbudd77 b825454fee Added to fix Qt build issue with pre Qt 5.12 builds. 2021-03-21 08:34:08 -04:00
mjbudd77 451b0f8474 For Qt GUI, change square pixel video option to be a force aspect ratio option and added a small list of preselect aspect options via video config window. Aspect ratio is now a configuration parameter for the video viewport. This addresses most of issue #341. Still TODO add custom aspect entry capability. 2021-03-21 07:17:01 -04:00
mjbudd77 9e1eb03b96 Added initial framework for being able to bind gamepad button presses to emulator key sequences. This makes it possible to trigger any short cut or hot key. 2021-03-20 09:24:02 -04:00
mjbudd77 afe54a5ab9 Fixed iNES_HEADER struct/class definition miscompare warning. 2021-03-19 22:05:20 -04:00
mjbudd77 fda056cdc3 Resolved a couple signed vs unsigned miscompare warnings. 2021-03-19 22:01:12 -04:00
mjbudd77 d52c4c24b6 Swapped out deprecated QPalette::Background symbol for QPalette::Window. 2021-03-19 21:53:10 -04:00
mjbudd77 2f097ff4b3 Resolved a couple bool/int comparision compiler warnings. Fixed Qt GUI crash when setting 4 score settings without a ROM loaded. 2021-03-19 21:37:27 -04:00
mjbudd77 bc3b156cf5 Compiler warning cleanup of unused variables and exception handling. 2021-03-19 20:59:03 -04:00
mjbudd77 456251861a Added a targeting reticle icon that can be used as a mouse cursor on the main viewport of Qt GUI. Easier to aim with for zapper games emulated by mouse. 2021-03-18 22:30:40 -04:00
mjbudd77 ffd5de60aa Added logic to Qt GUI to allow for the shape of the viewport cursor to be selectable between an arrow, cross, or blank. Also added a viewport cursor visibility configuration parameter. Cursor visibility and shape can be set via the video config option window. 2021-03-14 14:02:10 -04:00
mjbudd77 b1c0c4447f Successful test of using saved QPalette color settings. 2021-03-07 13:28:44 -05:00
mjbudd77 9642be0db1 Added functions to save QPalette color settings to a file and load then on request. 2021-03-06 22:30:56 -05:00
mjbudd77 7eb8ea9608 Added a GUI widget style test window. Contains most of the widget types for ease of seeing style changes. 2021-03-06 00:40:58 -05:00
mjbudd77 a9059517a5 Added menu to GUI palette color editor. 2021-03-05 22:26:32 -05:00
mjbudd77 037f1e04f9 Added color picker logic for GUI color palette selection. 2021-03-05 22:03:25 -05:00
mjbudd77 5ee2c6875e Created framework for GUI color palette edit window. 2021-03-05 21:29:50 -05:00
mjbudd77 0203344802 Added logic to look for a QResource (rcc) file along side a qss file when loading a new stylesheet. 2021-03-05 15:09:28 -05:00
mjbudd77 f7480c8560 Style fix for Qt gamepad config window button text. 2021-03-05 12:24:36 -05:00
mjbudd77 cb0bc74fd4 Added a styling wrapper class to allow for more control over palette colors. 2021-03-03 22:48:45 -05:00
mjbudd77 2a6a31fa48 Added Qt stylesheet GUI selection code. 2021-03-01 21:48:57 -05:00
mjbudd77 ac0f377873 Added a GUI style selection combo box. Lists all built in GUI styles available. This allows user to change the GUI style while it is running. Also, style setting is saved and used for future GUI startups. 2021-03-01 20:24:00 -05:00
mjbudd77 8347e2fd0b Bug fix for Qt GUI using default settings to force the minimum viewport until after the GUI has been drawn/resized at least once to ensure that the menu bar size has been finalized and the viewport meets demanded values. At the first resize event, the viewport minimum size is reset back to 1x values so that the window can still be shrunk by dragging the lower window corners and edges. 2021-02-27 19:29:50 -05:00
mjbudd77 8241973af1 Fixed order of execution bug to ensure that first startup of Qt GUI with default config sizes window exactly right. 2021-02-27 18:21:39 -05:00
mjbudd77 081d55ea45 Added menu bar to the Qt RAM search window. Currently only has a File->Close menu entry. 2021-02-27 17:16:04 -05:00
mjbudd77 623c2151a7 Added a menu bar to the Qt code data logger window with basic file load/save and window close functionality. 2021-02-27 17:07:20 -05:00
mjbudd77 194a2cfca2 Fixed file dialog code in input.cpp to use QFileDialog. 2021-02-27 09:08:15 -05:00
mjbudd77 8e4282fb42 Bug fix for Qt GUI ROM hard reset function. Function was using last open file config variable to determine which ROM to reload. Changed this function to read currently loaded ROM file path from core as this will always be correct. 2021-02-26 06:16:35 -05:00
mjbudd77 1cf00640c4 Added RAM init menu option to Qt GUI. 2021-02-25 20:19:41 -05:00
mjbudd77 ffc7e70b0d For Qt GUI fixed region auto detection logic to preserve dendy mode if an NTSC game is loaded. Also, added an option to enable/disable region auto detection functionality. This allows for the users selection via the GUI to be strictly enforced. Also, added a region select sub menu to the emulation main menu. Fixes issue #335. 2021-02-25 19:36:08 -05:00
mjbudd77 67c6386688 Logic for to allow for Qt GUI to auto detect NTSC/PAL at ROM load. 2021-02-24 19:23:07 -05:00
mjbudd77 2f83d11baa Added current window and viewport size readouts to Qt video config window. 2021-02-23 22:22:03 -05:00
mjbudd77 dda6cb33bb Added some protections to prevent user from reversing start/end scanlines via video config window. 2021-02-23 21:19:17 -05:00
mjbudd77 e3f2970dcd Added scanline start/end entry boxes for NTSC and PAL/Dendy to Qt Video config window. 2021-02-23 21:04:50 -05:00
mjbudd77 c544c137f5 Compiler warning cleanup for movie.cpp. Reordered initializer in constructor to match the order in which they are declared. Gave case statement a default for unhandled enum values. 2021-02-22 07:21:14 -05:00
mjbudd77 33882cb0d7 Fix for annoying compiler warning complaining about misleading indentation following if conditional. 2021-02-21 21:12:20 -05:00
mjbudd77 bf17e53335 Fix for mismatched fceu.cpp free()/malloc() error flagged by valgrind. 2021-02-21 21:04:02 -05:00
mjbudd77 3d2d3cbf26 Changed logic for Qt windows users for the config file to be located in the same directory as the executable by default. If a user wishes to override that behavior, they can set an FCEUX_HOME environment variable and that will become the users fceux config settings are stored. 2021-02-21 20:52:55 -05:00
mjbudd77 aacee3ddb9 Bug fixes for Qt hex editor ascii section key input. Key inputs now use character table. 2021-02-21 20:21:11 -05:00
mjbudd77 e07cd5ec52 Added a menu bar to the Qt trace logger with a File/Close option. 2021-02-21 18:39:18 -05:00
mjbudd77 79dcb51073 Auto Format of Qt code data and trace logger. Fix spaces/tabs code readability. 2021-02-21 18:32:30 -05:00
mjbudd77 9175eabf76 Added a close window button to the Qt game genie window. 2021-02-21 18:29:09 -05:00
mjbudd77 0bff7b7608 Added File/Close menu option to PPU tile editor window. 2021-02-21 18:24:30 -05:00
mjbudd77 7c4e8cfeec Added File/Close menu options to Qt debugger, ppu viewer, and name table viewer. 2021-02-21 18:21:00 -05:00
mjbudd77 348c26d78c Added TBL support to Qt hex editor. 2021-02-21 14:20:04 -05:00
mjbudd77 29e4825d12 Added code to free config memory at application exit. 2021-02-21 11:06:48 -05:00
mjbudd77 c107de92cd Cleanup code data logger allocated memory at application close. 2021-02-21 10:48:06 -05:00
mjbudd77 2a2e1b7bca Re-added code to free allocated video memory at application close. Free Qt NES wrapper memory at application close. 2021-02-21 10:39:21 -05:00
mjbudd77 b8e647fbc6 Fixed segmentation fault when offsetStringToInt is called without a loaded ROM. 2021-02-20 18:40:48 -05:00
mjbudd77 7dc77269b5 Added close buttons to Qt GUI config and tools windows. Debug windows still to be evaluated. Only exceptions are when the window has a menu bar with a file -> close option. 2021-02-20 06:57:25 -05:00
mjbudd77 e6754c87ba Added a recent ROMs sub menu to the Qt main menu. 2021-02-19 20:46:27 -05:00
mjbudd77 67fb5263cc Added a few context menu accelerators to debugger, hex editor, ppu viewer, and name table viewer Qt windows. 2021-02-19 00:15:23 -05:00
mjbudd77 350f7fa468 More QFileDialog show()/exec() fixes. #332 2021-02-18 23:28:31 -05:00
mjbudd77 5eb79dcf9d Removed all redundant QFileDialog calls to show() when exec() is already being called. The show() function is a non-blocking call to create a dialog window. exec() is a blocking call and is required to use the native windows file browser. Since all the file dialog callback functions are designed to be blocking anyway, the show() calls really shouldn't be there anyway. This fixes part of #332. 2021-02-18 23:14:31 -05:00
mjbudd77 5f46fd098f Added a refresh rate submenu under View in the Qt hex editor that allows for setting the update rate to the following values in Hz: 5, 10, 20, 30, and 60 (for those with super human eye-to-brain processing times). 2021-02-18 22:28:59 -05:00
mjbudd77 41c9125788 Added logic to Qt hex editor to force a redraw event when keyboard or mouse events that effect the cursor occur. 2021-02-18 22:04:13 -05:00
mjbudd77 90d31dadca Added logic to Qt hex editor to set minimum line width to full line length at construction. Part of #322. 2021-02-18 21:48:57 -05:00
mjbudd77 ea97709f85 Set minimum debugger assembly viewport width at construction to avoid window resizing when upon initial load of assembly text. Part of #322. 2021-02-18 21:29:55 -05:00
mjbudd77 86ffdcee3a Removed calls to old text console based cheat menu in favor of Qt GUI cheat menu. Default hot key for opening the cheat menu is F1 and was crashing when trying to bring up text cheat console. Qt window does not have this issue. Fixes part of #332. 2021-02-18 20:13:05 -05:00
mjbudd77 32e897479c Bug fix for hex editor crashing when changing view to PPU or ROM with no game loaded. Fixes part of #332. 2021-02-18 19:56:19 -05:00
mjbudd77 e7e6aac71d Merge branch 'master' of github.com:TASVideos/fceux 2021-02-17 21:35:07 -05:00
mjbudd77 aefb834552 Auto Reformat Qt RamSearch.cpp. 2021-02-17 21:27:03 -05:00
mjbudd77 67752c1ea2 Minor performance improvements to Qt Ram Search window. 2021-02-17 21:22:25 -05:00
zeromus 4c3d727ad0 fix for rare crash 2021-02-17 20:42:08 -05:00
mjbudd77 14b07ab5f2 Added a link to online documentation in the Qt GUI help menu. 2021-02-16 22:16:05 -05:00
mjbudd77 7e3086d92c Added more accelerators for Qt menu items. 2021-02-16 21:44:47 -05:00
mjbudd77 08df12db74 Bug fix for Qt GUI main menu permanently hi-jacking input focus when using menu accelerators. 2021-02-15 10:08:03 -05:00
mjbudd77 049f1017d4 For Qt GUI, fixed thread timing bug in rapid autofire pattern. Also, added hooks to make the autofire pattern number of on/off frames configurable. Minor indentation fixes in code. 2021-02-15 08:43:14 -05:00
mjbudd77 e8bd912830 For Qt GUI, added logic to gray out timing statistics when not enabled. Makes it more obvious for user to realize that the calculations are not active until the enable button is hit. 2021-02-14 15:08:41 -05:00
mjbudd77 0768579faa Palette file pathing fixes for Qt GUI. 2021-02-14 12:02:24 -05:00
mjbudd77 df315f8e9c Added QFileDialog urls for lua load window. 2021-02-14 11:16:39 -05:00
mjbudd77 769ab81027 Setup QFileDialog side urls for various windows. 2021-02-14 10:53:21 -05:00
mjbudd77 a5a0a5edee Added a function that returns the executable file path. Added this path to the list of urls to search for palette files. 2021-02-14 09:37:04 -05:00
mjbudd77 3556c1cbfc Added sidebar urls to Qt palette open file browser. 2021-02-14 07:10:34 -05:00
mjbudd77 bf00cb62ca Added logic to also look for $USERPROFILE env var on windows systems. 2021-02-14 06:35:25 -05:00
mjbudd77 15b983fc76 Added logic to make Qt GUI search for $HOMEPATH in the event that $HOME is not defined (for Windows). 2021-02-14 06:20:16 -05:00
mjbudd77 5d0c9b2225 Added button icons to the bottom row of the Qt iNES header editor. 2021-02-14 05:55:57 -05:00
mjbudd77 b98feca574 Added standard core about text into Qt About Fceux Window. 2021-02-14 05:27:36 -05:00
mjbudd77 c3473dbf4d Made one full pass over all Qt window menus and added accelerators where it makes sense. 2021-02-14 05:09:44 -05:00
mjbudd77 58c3081176 Added ALT+F accelerator for Qt main menu. 2021-02-13 20:16:51 -05:00
mjbudd77 bff4dd4d93 Removed scroll bars from Qt game pad window as its new layout makes it unnecessary. 2021-02-13 20:10:20 -05:00
mjbudd77 5abdc4a50e Added an game pad graphic on the Qt game pad config page with buttons that change color when pressed. 2021-02-13 16:36:59 -05:00
mjbudd77 1ced2f59b9 Added logic to Qt nametable viewer to not render tiles that are not in view. Also subbanded table rendering into separate frames to increase performance. 2021-02-12 21:07:24 -05:00
mjbudd77 04bd1ffcf6 Added a function to pre-calculate pixel locations for the nametable viewer in order to save computation time during Qt paint events. 2021-02-12 18:51:04 -05:00
mjbudd77 97990b671a Merge branch 'master' of github.com:TASVideos/fceux 2021-02-11 20:48:17 -05:00
mjbudd77 f80214da90 Added code to allow for setting of thread priorities in windows for Qt GUI. 2021-02-11 20:24:10 -05:00
mjbudd77 1a622b5f30 Bug fix for Qt GUI message log in windows. 2021-02-11 18:09:48 -05:00
g0me3 56adae5e6c fixed copypaste bug in cdlogger introduced in #310 merge
(cdl auto load were broken, an error occures while attempting to save changes to cdl window settings)
2021-02-10 20:09:27 +03:00
mjbudd77 6b4c5c1c1b Added logic to look for the HOMEPATH env var if HOME is undefined. 2021-02-09 22:22:19 -05:00
mjbudd77 b8a5db5580 Build fix for Qt/SDL default input settings. Use SDLK_ macros directly to ensure there is not a conflict. 2021-02-10 03:07:41 -05:00
mjbudd77 ea8fbbf774 Removed unnecessary headers from nes_shm.cpp. 2021-02-09 20:30:47 -05:00
mjbudd77 deea77a30b Merge remote-tracking branch 'TasVideos/master' into Qt_WinBuild 2021-02-09 19:56:49 -05:00
mjbudd77 13f0f5d5e4 Added a script to build Qt windows fceux. 2021-02-08 21:37:50 -05:00
mjbudd77 70919c9458 Added a windows batch file version of the gitGenHdr script. 2021-02-08 20:51:24 -05:00
Oleg V. Polivets 766aa1e8fd
Fixes regarding RAM Search and RAM Watch dialogs. (#323)
* FIX: invalid size of watch region after adding it from RAM Search dialog.

* FIX: endianness of 2 byte value not same for same address in RAM Search and RAM Watch dialogs.

* FIX: RAM Watch dialog not suppot 4 byte values.
2021-02-08 19:28:20 -05:00
Oleg V. Polivets 23db1b35b0
Qt: GamePadConf change buttons sequentially. (#322) 2021-02-07 12:58:34 -05:00
mjbudd77 24863422ff Lua Qt Win build fixes. 2021-02-07 12:23:31 -05:00
mjbudd77 8d9e99fd18 Build fixes for linux from changes made for Qt windows compatibility. 2021-02-06 19:15:06 -05:00
mjbudd77 5edd659949 Re-added memset statement to ensure that Qt GUI memory is zeroed at
startup.
2021-02-06 13:41:16 -05:00
mjbudd77 fd9b269a90 Merge branch 'master' into Qt_WinBuild 2021-02-06 13:31:01 -05:00
mjbudd77 cf04b90ef1 Added logic to zero nes_shm for Qt gui 2021-02-06 13:23:23 -05:00
mjbudd77 35bb4be6f6 First successful build of Qt windows fceux. 2021-02-06 12:15:28 -05:00
mjbudd77 f2c898f4c3 Bug fix for Qt nametable viewer not always updating as it should. 2021-02-05 15:39:52 -05:00
mjbudd77 1307adc115 For Qt GUI, added a custom color picker for the palette editor that allows for colors to be dynamically tweaked while a game is actively running. 2021-02-03 21:40:18 -05:00
mjbudd77 31819d246d Added initial framework for Qt palette editor window. 2021-02-02 22:37:01 -05:00
mjbudd77 df83c790d9 Changed conditional direct include of openGL logic to be if QT_OPENGL_ES
is defined. This is more correct than checking system arch.
2021-02-02 07:08:31 -05:00
jnahmias ab4cde7dbb
add missing GL include needed on arm arch's (#316)
* add missing GL include needed on arm arch's

On other arch's, including amd64, this gets pulled in via QOpenGLWidget.
However, since it uses GL functions directly and GL.h doesn't get pulled in
automatically, this is necessary on arm.

* Add preprocessor arch checks for linux arm

Co-authored-by: mjbudd77 <44712797+mjbudd77@users.noreply.github.com>
2021-02-01 21:31:20 -05:00
mjbudd77 663e357553 Syntax style preference change on NULL pointer check 2021-02-01 20:15:18 -05:00
Oleg V. Polivets 45fc222467
fix: ppuViewer crashes the app when ROM is not opened (#319) 2021-02-01 20:09:51 -05:00
owomomo 30fcc91fdc
Customizing Hex Editor and Debugger Highlight Colors (#310)
* Configurable Hex Editor text colors.
* Add a customizable color for address title.
* 1. Add some more colors to Debugger highlight
2. Sorting all the colors out for future customization.
3. Re-arranged some includes.
* Make the debugger highlight color customizable.
* Move the button to the right and make the default window size wider.
* Adding color icons and hex values to the color menu items.
* 1. Enlarge the color icon a few pixels
* Debugger and Hex Editor shares the same custom color buffer.
This function finally completed. I believe there is no more details can be developed in recent period.
* 1. Add icon to color menu in another way to prevent the odd space between icons and text.
2. Free some malloc() resources when exit, though it would be somehow eventually recycled by system, but that's not a good rabbit.
3. GetROMName and GetROMPath has malloc() and called so many times in the code, it seems there's no any free() call for their returned char*, it's OK to make them directly return a std::string which is more comfortable for use.
* I forgot hDebug is still NULL in WM_INITDIALOG.
* 1. Rewrite debugger resizing logic, now all the controls on the dialog can stretch and shrink with the window size, when you enlarge the window, the controls on the right is also stretched to fit the height.
2. Moved Syntax highlight and Default window size button to the menu bar, in the past, if the window size is too small to show the default size button on the bottom right corner, it can't be pressed to restore the window, but now you can press it anytime.
* Changed ID of color menu to prevent conflict of some existing dialog controls.
* I don't know why restore default window size cannot be done before game loaded.
* 1. Fix Debugger default width with IDA font.
2. Fix Hex Editor single byte highlight in red.
2021-02-01 20:41:02 +03:00
jnahmias 6f45846975
fix spelling mistakes caught by lintian (#314) 2021-01-31 23:57:24 -05:00
mjbudd77 215f64eab3 For Qt GUI, fixed arrow key tile indexing bug with view mode is sprite 8x16. 2021-01-31 22:14:27 -05:00
mjbudd77 8161e3d80b Added logic to make focus policy configurable for Qt PPU viewer window. 2021-01-31 21:27:05 -05:00
mjbudd77 2940f1da66 Added ppu viewer selected tile movement via key board keys. Added selected tile indication to PPU viewer. 2021-01-31 21:09:21 -05:00
mjbudd77 e74dbeeb51 Added a menu bar to the Qt PPU viewer. Added logic to make the grid and tile selector color selectable. 2021-01-31 15:39:01 -05:00
mjbudd77 9c70a682b7 Added hot key to close hex editor window by pressing Esc key. Added logic to open ppu viewer from name table editor. 2021-01-31 14:07:50 -05:00
mjbudd77 1958daf6cb Added a context menu to the Qt nametable viewer. 2021-01-31 13:50:39 -05:00
mjbudd77 27e94f0fad Added a selected tile view to tile info frame on Qt nametable viewer. 2021-01-30 15:49:56 -05:00
mjbudd77 8bf49b193d For Qt GUI nametable viewer: added option to have click or hover tile focus policy. Fixed a few screen refresh issues when emulator is paused. Fixed a few sync issues between window state and indicated menu settings. 2021-01-30 14:16:31 -05:00
mjbudd77 ec9da639f5 For Qt GUI, added fractional refresh rate to nametable viewer menu. 2021-01-29 06:53:32 -05:00
mjbudd77 9b0ae8840b For Qt GUI, added logic to make nametable viewer tile select, tile grid,
and attribute grid colors configurable.
2021-01-29 06:13:50 -05:00
mjbudd77 aff634b0ed Changed Qt name table viewer layout to more like mesen. 2021-01-28 22:33:28 -05:00
mjbudd77 b5008d89bc For Qt GUI, added name table viewer selected tile box indication. Alse
added scroll and zoom functionality.
2021-01-27 21:36:15 -05:00
mjbudd77 acdbc979ed For Qt GUI, added a menu bar to the name table viewer window. Also added
a compact window view mode.
2021-01-25 22:25:27 -05:00
mjbudd77 a2e3c2705a Added grid lines option to Qt nametable viewer. 2021-01-25 21:13:46 -05:00
mjbudd77 909e3c0c20 Added grid lines to the PPU pattern table viewer for the Qt GUI. 2021-01-25 20:26:09 -05:00
mjbudd77 7ce62ebee3 Added logic to Qt GUI to save off window size and video scaling parameters at application exit so that they can be used at startup to restore window to same size it was previously. 2021-01-24 14:21:18 -05:00
mjbudd77 6cbcc9cc59 Added logic to save the video auto scaling config setting between restarts of Qt GUI. This addresses part of issue #311. 2021-01-24 12:30:42 -05:00
mjbudd77 6f4537733c Added a help menu to new Qt PPU pattern table tile editor. 2021-01-24 11:24:05 -05:00
mjbudd77 d3bc4fb752 Added a PPU pattern table tile editor to the Qt/SDL GUI. This editor allows the user
to graphically set the values of individual pixel cells in the pattern tables.
2021-01-23 19:17:09 -05:00
mjbudd77 c6752c4193 Added standard FCEU GPL2 license header to Qt cpp files that were
missing it.
2021-01-20 19:19:22 -05:00
mjbudd77 1454238f1e
Added #if defined(__unix__) in the appropriate places to allow for the code to compile for FreeBSD 12.2 using the clang 10.0.1 compiler. (#305) 2021-01-16 14:40:28 -05:00
owomomo 0e0d75cea8
Fix Issue #89, Hex Editor features etc (#295)
* 1. Fix a bug that VS System, Extend System and Input Device Combobox don't change any value of the header.
2. Add hex preview to iNES Header Editor.

* Detail bug fix.

* Header Editor Hotfix

* ...

* ...

* Trying to fix Issue #89.

* Add array symbolic debug naming feature to Hex Editor.

* Separate the focus of Hex Editor cursor in different color, and Tab key to switch between them.

* 1. Shift+ArrowKeys to select a range of bytes (Shift+Home/End/PageUp/PageDown currently not supported)
2. Tab to switch between Hex and Text column, and use different color to make it clearer.
3. Sorted out some codes of Hex Editor, they are somehow crowded mess with ambiguous.
4. Detail.

* ...

* I hope there's no more bugs digging out...

* Fix calc bug of GetScreenCoordy(int offset).

* Some document says ExtTextOut is a bit faster than TextOut.

* Ctrl, Shift with arrow keys

* ...

* ...

* ...
2021-01-13 13:32:11 +03:00
zeromus 8ab8db5809 i dont see why ram watches have to be "valid hardware addresses"
it should show exactly whatever hex editor does.
it's probably old and out of date.
2021-01-11 00:03:08 -05:00
mjbudd77 314e3d90a1
Removed unused deprecated automake build files. (#297) 2021-01-06 21:21:35 -05:00
mjbudd77 427daa3543
Added logic to Qt GUI to allow for the main menu bar to be hidden. (#296) 2021-01-05 21:50:37 -05:00
owomomo 65c5b0d2a1
Header editor (#294)
* 1. Fix a bug that VS System, Extend System and Input Device Combobox don't change any value of the header.
2. Add hex preview to iNES Header Editor.

* Detail bug fix.
2021-01-01 17:44:49 +03:00
Dan Weiss 5f1263aef3
Fix Load State for Mapper 19, should not call `SyncMirror` after calling `FixNTAR` (#293) 2020-12-31 16:49:09 +03:00
Dan Weiss b66bcfb3e2
Fix SFMDATA getting a terminator that it shouldn't get if NULL pointer is given (#290) 2020-12-31 16:48:54 +03:00
mjbudd77 6724062581 Fixed NULL check for SPostSave function pointer. Initialized SPreSave and SPostSave pointers to NULL to ensure their initial state is consistent. Also, init FCEU_state_loading_old_format to false as it is always better to have an initial state defined than none at all. 2020-12-30 15:20:34 -05:00
mjbudd77 fde7bfab9f
NL file parsing fix for Qt Gui to properly load array variable entries. (#288)
* Ported over recent fix to PalettePoke function from windows to Qt.

* NL file parsing fix for Qt Gui to properly load array variable entries.
2020-12-29 17:24:38 -05:00
mjbudd77 8d1082b290
Ported over recent fix to PalettePoke function from windows to Qt. (#287) 2020-12-28 17:07:25 -05:00
g0me3 8ae1807957 attpet to fix #282 2020-12-28 22:36:33 +03:00
g0me3 1b0edf183d Merge branch 'master' of https://github.com/TASVideos/fceux 2020-12-28 22:20:02 +03:00
g0me3 ffd322424e fix for #285 2020-12-28 22:19:46 +03:00
owomomo f173e11152 1. Fix "Restore Window Size" restores to a wrong size when screen dpi is not 96.
2. Fix Issue #283, currently no break or crash have been found...
3. Detail.
2020-12-28 23:23:55 +08:00
bbbradsmith 6b5fae2e7d minimum CHRRAMSize allocation for safety < 1k 2020-12-23 14:39:47 -05:00
g0me3 9fc4c98f04 MemViewUpdate cleanup, readability, removed redundant code and stuff. better to see in profiler now the real bottleneck for highlighted coloring being too slow
(TextOutA with not highlight - 32000 calls, 3200000 calls with highlightings+fading)
2020-12-23 18:46:06 +03:00
owomomo dcb086e570
Update Help Document and Minor bug fix (#275)
1. Update help document for new features.
2. Fixed "FamicomDiskSytem" typo in hnd file.
3. Fixed a bug of RAM Watch.
2020-12-22 21:05:31 +03:00
owomomo 4ad03e4cb1
New features in Symbolic Name Debugging (#268)
* New Symbolic Debug Naming dialog:
1. Multiline comments can be directly edited in the dialog.
2. You can add an array of comments to the addresses.
3. More convinient features of symbolic debug naming.
* Update the help document with the new feature of symbolic naming in Debugger.
2020-12-21 19:04:05 +03:00
Alexey 'Cluster' Avdyukhin 6aebbcbb9b FDS fix (SubLoad() returns 0 on success now) 2020-12-21 09:44:41 +03:00
mjbudd77 e64aac93ee Added fceux name and version information to the main window title bar for the Qt/SDL port. 2020-12-20 23:39:25 -05:00
mjbudd77 8073210cc7 Minor array ndexing bug fix for Qt/SDL port symbolic debug array edit feature 2020-12-20 23:10:17 -05:00
mjbudd77 4d4e6b282a Merge branch 'master' of https://github.com/TASVideos/fceux into development 2020-12-20 22:27:27 -05:00
mjbudd77 9f6463c0b8 Updates Qt trace logger with new debug symbol window. 2020-12-20 22:14:47 -05:00
mjbudd77 8ccf6fe37f Added new array indexing symbolic debug feature logic to Qt/SDL debugger and hex editor. 2020-12-20 21:46:25 -05:00
Alexey 'Cluster' Avdyukhin ddf3fb631e Refactored loader code for better error messages 2020-12-21 02:19:48 +03:00
Alexey 'Cluster' Avdyukhin ed4d1a7217 Minor refactoring, unreachable code removed 2020-12-21 00:36:08 +03:00
Alexey 'Cluster' Avdyukhin 395af9d283 Issue #264 fix (mapper 256 support) 2020-12-20 19:40:36 +03:00
owomomo 6e0a5a391b
Fix Issue #88 (#266)
* Trying to fix Issue #88.
* Fix a grammar mistake.
* Add single comment without name with symbol naming dialog.
2020-12-19 12:31:30 +03:00
zeromus f08b853f19 update aboutbox a bit 2020-12-18 19:42:40 -05:00
mjbudd77 2e4fae6de6 Added more button and menu icons to Qt GUI. 2020-12-13 21:45:39 -05:00
mjbudd77 6f78a086d2 Added more button icons to Qt gui game pad and palette config windows. 2020-12-13 17:48:51 -05:00
mjbudd77 380fc72917 Added a few more menu icons to Qt gui. 2020-12-13 15:24:48 -05:00
mjbudd77 58624be83b Added a few more icons to Qt GUI menu. 2020-12-13 15:02:23 -05:00
mjbudd77 af8c63fcc2 Added a few standard icons to menu entries and buttons in Qt GUI. 2020-12-13 14:51:04 -05:00
mjbudd77 35720a78ce Added logic and necessary functions to SDL port for new Lua emu.exit() function. 2020-12-12 06:59:07 -05:00
Alexey 'Cluster' Avdyukhin 3bab27ff76 Added emu.exit() function to Lua, added description to fceux.chm about it 2020-12-12 13:38:11 +03:00
mjbudd77 108b817c70 Bug fix for numeric version code. Set correctly for upcoming new release 2.3.0 2020-12-11 16:05:00 -05:00
mjbudd77 9e781da116 Removed unused/deprecated scons and automake build files from project. SDL uses cmake now and its never going back. 2020-12-10 21:55:38 -05:00
mjbudd77 fb965bbee0 Updated source and build script version references in preparation for new release. Updated SDL web documentation. Removed a few deprecated command line arguments from code and help text. Removed last few references to GTK in Qt GUI. 2020-12-10 21:43:50 -05:00
Matthew Budd 03390b4d89 Added logic to always attempt to resolve the absolute path to the ROM file when loading a new game. 2020-12-09 21:48:17 -05:00
Matthew Budd 9e6c963733 Removed debug print statements from Qt debugger 2020-12-08 22:14:54 -05:00
Matthew Budd 90f122ef82 Added context menu to trace logger viewport. Through this menu, debug symbols and breakpoints can be set for the selected hex address in the viewport. 2020-12-08 21:46:21 -05:00
Matthew Budd accc476623 Cleaned up a couple cppcheck warnings in Qt GUI. 2020-12-07 22:34:05 -05:00
Matthew Budd fbf8fe6eb5 Added logic to allow for copy/paste of trace logger viewport to/from clipboard. 2020-12-07 22:04:36 -05:00
Matthew Budd 561f258770 Qt debugger breakpoint highlight bug fixes. 2020-12-07 20:12:34 -05:00
mjbudd77 afaea86abd Added a frame timing statistics window to the Qt tools. Allows user to enable frame timing statistical calculations and view the output on a window in realtime. Is used to verify emulator is getting the proper clock interrupts from the OS and thus check that emulation timing is deterministic. 2020-11-30 22:29:51 -05:00
Matthew Budd 4f08d7a8cc Added message log viewer window to the Qt GUI. 2020-11-29 20:11:28 -05:00
Matthew Budd 3ae463d1f2 Bug fix for Qt GUI crashing when to load a non-existant ROM via the command line. 2020-11-29 00:04:20 -05:00
Matthew Budd ca005b498b Bug fix for cmake pkg-config search for lua 5.1 package. Ubuntu packages this as lua5.1 and Fedora names it lua-5.1. Changed cmake file to use pkg_search_module to search for both package names and use the first one it finds. 2020-11-28 23:28:35 -05:00
Matthew Budd 4decd24bcd Build fix for __THROWNL not being defined on libc that is used by Alpine Linux 2020-11-28 22:38:57 -05:00
Matthew Budd d13c151817 Default Qt GUI Timing statistics calcutions to off. TODO make timing stats enable via GUI. 2020-11-28 22:05:39 -05:00
Matthew Budd 35e0bc441f Removed debug print statement. 2020-11-28 21:55:55 -05:00
Matthew Budd 4812c804fd Added timing options selection combo box to timing window on Qt GUI. 2020-11-28 21:46:41 -05:00
Matthew Budd f198996cd4 Added logic to auto set process scheduling priorities at startup. 2020-11-28 21:03:26 -05:00
Matthew Budd 961aa83a51 Bug fixes for Qt timing priority configs. 2020-11-28 20:43:34 -05:00
Matthew Budd 18e9dc1a9e Added logic to check whether the user has the permissions necessary to increase the priority (nice) of the process. If not, disable the slider on the Qt timing window. 2020-11-28 15:40:27 -05:00
Matthew Budd e67b17795c Added scheduler config parameters to Qt GUI. 2020-11-28 00:28:28 -05:00
mjbudd77 ab31c760d5 Build fix for mac os 2020-11-27 23:48:57 -05:00
Matthew Budd d5d6b32787 Added GUI scheduling parameters to Qt timing config window 2020-11-27 23:42:32 -05:00
Matthew Budd e154b38327 Qt Timing config window bug fixes for cases when OS does not have proper permissions. 2020-11-27 23:04:41 -05:00
Matthew Budd 6b8e4f883b Initial add of timing configuration window to Qt GUI. 2020-11-27 22:18:04 -05:00
Matthew Budd 8d0de7793a Merge branch 'development' of https://github.com/mjbudd77/fceux into development 2020-11-27 19:56:31 -05:00
mjbudd77 a7b031ee81 Qt GUI thread priority functionality added for mac os 2020-11-27 19:53:14 -05:00
Matthew Budd 3982d1b897 CAdded 2020-11-27 14:23:17 -05:00
Matthew Budd 2b05c7169d Initial add of logic to allow for high priority threads in Qt GUI. Modified speed throttle logic to have more accurate frame timing. 2020-11-26 23:44:59 -05:00
Matthew Budd 16af95771d Build fix for linux appveyor pipeline. Ensure OS package updates are pulled in from server before attempting to pull dependencies. 2020-11-24 20:32:41 -05:00
Matthew Budd 14766432ae Added periodic checking logic to ensure that gamepad 4 score checkboxes on input and gamepad config windows stay synchronized. 2020-11-24 19:46:22 -05:00
Matthew Budd c9d0eddec6 For Qt GUI, added a checkbox to allow for auto load/save of input presets on ROM open/close. 2020-11-24 16:22:09 -05:00
Matthew Budd fa18154ac3 Added a low rate periodic update function to Qt input window to ensure that it stays synchronized with the state of the emulator input settings. 2020-11-24 07:01:34 -05:00
Matthew Budd c4a066c25c Qt Input config window further code hardening. 2020-11-24 06:25:12 -05:00
Matthew Budd 85cee7fd4a Added load/save input preset file logic for Qt GUI. 2020-11-23 22:16:52 -05:00
Matthew Budd f541822557 Qt input preset configs in work. 2020-11-23 16:22:01 -05:00
Matthew Budd adce35cc58 Added input preset configuration scheme for Qt GUI. 2020-11-23 16:09:11 -05:00
Matthew Budd 396029743a Added input device selection/configuration window for Qt GUI. Still TODO, button config windows for non-gamepad devices. 2020-11-23 13:50:26 -05:00
Matthew Budd 30b3a92c38 Corrections for zapper emulation via mouse using Qt GUI. 2020-11-21 14:15:36 -05:00
Matthew Budd 6ac1d9e171 Removed a comment that is no longer valid. 2020-11-19 20:43:25 -05:00
Matthew Budd b1c0f7aaba Added ROM edit undo functionality to Qt hex editor. 2020-11-19 20:35:44 -05:00
mjbudd77 5cbfb8b1a5 Added a text highlight clear function and now clear when hex editor view mode changes. 2020-11-17 00:06:10 -05:00
mjbudd77 7127b858e1 Added find pattern functionality to Qt hex editor. 2020-11-16 23:35:33 -05:00
mjbudd77 4968e50202 Added copy/paste functionality for Qt hex editor. 2020-11-16 21:26:53 -05:00
Matthew Budd 5e35c181c8 Qt debugger slight change in main menu entry 'Run to Cursor' is now 'Run to Selected Line'. Run to Cursor option is still present in assembly viewer context menu. 2020-11-15 18:55:03 -05:00
Matthew Budd 386f943140 For Qt debugger, added a run to cursor menu shortcut key. 2020-11-15 14:47:57 -05:00
Matthew Budd 8629e19273 Added PC line placement options for Qt debugger assembly viewer. Old behavior was to always to display program counter line at the top of the viewer when a breakpoint is hit. Now that behavior is selectable to be top, upper-mid, center, lower-mid, bottom, or custom line offset. 2020-11-15 14:30:38 -05:00
Matthew Budd d3b779a4e3 Added a run to cursor debugger feature to Qt debugger window assembly view context menu. 2020-11-15 11:57:43 -05:00
Matthew Budd 13ea28dad4 Added window menu to Qt debugger and shortcuts for debug execution control buttons. 2020-11-14 14:56:57 -05:00
Matthew Budd 0d6f5e567e Minor changes to Qt debugger window to allow for it to be more compact. 2020-11-14 14:35:11 -05:00
Matthew Budd e36f53609e Added logic to clear QClipboard contents at program exit. This will prevent a momentary terminal X11 hang and following error message "QClipboard: Unable to receive an event from the clipboard manager in a reasonable time" 2020-11-14 14:01:23 -05:00
Matthew Budd 2ce2e5a8a3 Fixed wheel event scroll direction for custom QWidgets 2020-11-14 13:42:43 -05:00
Matthew Budd c5cdd77fb1 For Qt, added mouse wheel scrolling logic to all custom QWidgets (Debugger Assembly Viewer, Trace Log Viewer, Hex Editor, and RAM Search Viewer) 2020-11-14 09:24:10 -05:00
Matthew Budd 43f87541b6 Added mouse wheel scrolling capability for Qt debugger ASM viewer. 2020-11-13 13:31:04 -05:00
Matthew Budd bfa70c1f25 Bug fix for Qt debugger attempting to save symbol/bookmarks at window close with no game loaded. 2020-11-13 11:47:55 -05:00
Matthew Budd 836127afd0 Changed Qt debugger ASM viewer to render text a single character at a time to have better control of horizontal char advance. Mac OS seems to not always draw characters with the same spacing if not done this way. 2020-11-13 11:27:55 -05:00
mjbudd77 58a1d76e2c Changed shared memory allocation to a standard malloc to prevent crash
on systems that do not allow large shm sizes.
2020-11-13 11:17:35 -05:00
Matthew Budd 7dab1976f6 Added text copy/paste functionality via Qt clipboard to Qt debugger ASM viewer. 2020-11-13 10:44:09 -05:00
Matthew Budd 242620b782 Added logic to allow for symbol names to be clicked in Qt debugger ASM viewer. 2020-11-12 20:48:52 -05:00
Matthew Budd c8f0649223 Bug fix for Qt Code Data Logger auto resume function. 2020-11-11 21:25:53 -05:00
Matthew Budd 3ca86a1748 Added new mapper to cmakelist for SDL build. 2020-11-11 20:19:56 -05:00
Matthew Budd b3b46adcd5 Merge branch 'master' of https://github.com/TASVideos/fceux into development 2020-11-11 20:17:53 -05:00
Matthew Budd 4c94acf68a Added video special scaler functionality to Qt GUI. 2020-11-11 20:14:00 -05:00
g0me3 452fdfa5a3 new UNIF mappers for chinese dumps 2020-11-11 19:18:31 +03:00
Matthew Budd 0b5c73bd23 Removed inline from cheat functions to allow them to properly link in Qt/SDL executable. 2020-11-10 21:57:58 -05:00
Matthew Budd d60a00caeb Further improvements to Qt symbolic debugging. 2020-11-10 21:52:38 -05:00
Matthew Budd 90911ff17e Added RAM freeze feature to Qt hex editor. 2020-11-10 20:19:49 -05:00
Matthew Budd 889f74b5c8 Added Qt debugger assembly context menu shortcut key functionality. 2020-11-09 20:14:16 -05:00
Matthew Budd 3023ab7d50 Changed Qt debugger asssembly window address selection logic to allow for any valid hex address on the display to be selected. Previously was only allowing the instruction address at the beginning of the line to be selected. 2020-11-09 20:02:06 -05:00
Matthew Budd 49ab65bcc9 Changed debugger breakpoint/symbol add/edit windows to have the OK button as the default widget that is activated when the enter key is pressed. 2020-11-08 23:20:18 -05:00
Matthew Budd 92ccbd8a49 Changed Qt GUI hot key logic to allow for hot key bindings to include the use of modifier keys (Shift,Alt,Ctrl) to form key sequences instead of just being limited to single key bindings. 2020-11-08 22:57:28 -05:00
Matthew Budd 2fa810d1ad Added logic to Qt GUI to allow for frame advance usage when at a debugger breakpoint. 2020-11-08 19:52:15 -05:00
Matthew Budd 8adcc1a699 Added Game Genie encode/decode window to Qt GUI. 2020-11-08 15:42:48 -05:00
Matthew Budd 3c2c039f3a Added custom style sheet usage comment to command line help for Qt GUI. 2020-11-07 15:06:07 -05:00
Matthew Budd e38793f352 Added Qt style command line options to help printout. 2020-11-07 14:44:07 -05:00
Matthew Budd f4da749a44 Added logic to Qt trace logger and ram search to change fore/background color scheme based on style theme. 2020-11-07 14:19:22 -05:00
Matthew Budd e42232777e Successful integration of Qt movie play window. 2020-11-07 13:32:40 -05:00
Matthew Budd 018204089a Qt Movie play window updates. 2020-11-07 00:08:51 -05:00
Matthew Budd 412ca246c7 Successful loading of a movie from the movie play window. Styling update for debugger window for dark themes. 2020-11-06 23:45:39 -05:00
Matthew Budd bbb878c20d Qt Movie Play dialog window in work. 2020-11-05 07:03:32 -05:00
Matthew Budd 4314ccbfc3 Movie play window for Qt GUI in work. 2020-11-05 06:49:50 -05:00
Matthew Budd 9bc07b8c2c Ported over another missing fix to the Qt iNES header editor from the windows version. 2020-11-05 06:02:30 -05:00
Matthew Budd fe5953a205 Added movie load full save state checkbox comment to Qt GUI. 2020-11-05 05:57:30 -05:00
Matthew Budd fc1ce9da85 Build fix for GTK GUI, re-declaration of an external symbol of a different type is a dangerous thing. 2020-11-05 05:45:18 -05:00
Matthew Budd d8d696e1a1 Added movie options dialog window to Qt GUI. 2020-11-05 05:24:21 -05:00
Matthew Budd feff0f79c3 Added a config parameter to Qt GUI to store movie directory path. 2020-11-04 06:39:16 -05:00
Matthew Budd 6672e53098 Ported over recent iNES header editor mapper decoding fix from windows to Qt. 2020-11-03 18:12:26 -05:00
Alexey 'Cluster' Avdyukhin 7e38d08bdb Fixed header editor bug, mappers>255 support were totally broken 2020-11-03 15:29:30 +03:00
Matthew Budd e72cc4d0d5 Bug fix for issue #217. The Qt hex editor memory reads are now synchronized with emulation thread execution. This ensures that calls to GetMem will not improperly interfere with certain memory mapped registers while the emulation thread is executing. Reading at an inappropriate time from controller registers mapped at addresses $4016 and $4017 can cause the emulator to miss button presses. Thread synchronization fixes this. 2020-11-03 06:36:30 -05:00
Matthew Budd 87b6368956 Changed the lua emu.loadrom function to have a string return value containing the path to the currently loaded ROM. The old function had no return value. This return value allows for the user to determine what game was loaded since the function behavior is to try to reload the last known ROM if the passed argument cannot be loaded. 2020-11-01 21:45:36 -05:00
Matthew Budd 9f10a1fb20 First successful test of Qt iNES header editor. 2020-11-01 21:18:08 -05:00
Matthew Budd bcef387bb0 Added logic to open file if a ROM is not currently loaded when opening the iNES header editor. 2020-11-01 20:04:21 -05:00
Matthew Budd 1055294895 Qt iNES header editor in work. 2020-11-01 19:02:30 -05:00
Matthew Budd b04938901f Qt iNES header editor in work. 2020-11-01 16:43:09 -05:00
Matthew Budd ef8c426549 Merge branch 'master' into development 2020-11-01 15:39:48 -05:00
Matthew Budd 3f4d8898a0 Changed Family Keyboard enable toggle logic to by a configurable hot key instead of the hardcoded scroll lock key. Fixes issue #214. 2020-10-31 20:38:44 -04:00
Matthew Budd 22f47c43c6 Merge branch 'master' of https://github.com/mjbudd77/fceux 2020-10-31 16:27:10 -04:00
Matthew Budd 5c29bdbd8d Lua scripting pathing improvements for Linux/MacOS. Use realpath when possible to always have a absolute path for scripts and roms internally. 2020-10-31 16:25:29 -04:00
mjbudd77 ddb879b21a Build fix for MacOS. 2020-10-31 16:12:40 -04:00
Matthew Budd 0cca02e765 Bug fix for issue #215. MacOS was not changing the current working directory to the lua script location when loading a lua script. 2020-10-31 16:08:22 -04:00
Matthew Budd ec875b9357 Changed Lua console message buffer to allow for strings that are much longer than 256 characters. 2020-10-31 16:01:15 -04:00
mjbudd77 5d6cda446a Compile fix for macOS. 2020-10-31 12:40:31 -04:00
Matthew Budd 939e2ae27e Added logic to direct lua script error messages to the output console window. Fixed crash issue described in issue #216. Crash was due to Qt GUI functions being used in the emulator thread. Only the main GUI thread is allowed to call Qt GUI functions. 2020-10-31 12:24:52 -04:00
Matthew Budd 91f035fbf2 Qt iNES header editor in work. 2020-10-29 22:06:49 -04:00