Commit Graph

3272 Commits

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