Commit Graph

4405 Commits

Author SHA1 Message Date
mjbudd77 9471ff5e7b
Merge pull request #224 from mjbudd77/master
Bug fix for issue #217. The Qt hex editor memory reads are now synchr…
2020-11-03 07:05:46 -05: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
mjbudd77 b63f8657a5
Merge pull request #223 from mjbudd77/master
Qt iNES Header Editor Feature, Lua emu.loadrom return value
2020-11-01 22:21:01 -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
mjbudd77 69a35ee825
Merge pull request #221 from mjbudd77/master
Changed Family Keyboard enable toggle logic to by a configurable hot …
2020-10-31 21:48:14 -04: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
mjbudd77 b163eb6e0a
Merge pull request #220 from mjbudd77/master
Qt Lua Bug Fixes
2020-10-31 17:16:53 -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 e6ef7a3a3a
Merge pull request #218 from mjbudd77/master
Lua Error Reporting and Crash Bug fixes for Issue #216
2020-10-31 13:32:23 -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
mjbudd77 ed61b97050
Merge pull request #213 from brianlheim/topic/pkg-dmg
cmake: use macdeployqt instead of fixup_bundle to deploy on macOS
2020-10-29 18:55:36 -04:00
Brian Heim 74e4cfe0de appveyor: add qt5 prefix path to CMAKE_PREFIX_PATH when configuring 2020-10-29 10:00:54 -05:00
Brian Heim a3e66d0a80 gitignore: add /build 2020-10-29 10:00:35 -05:00
Brian Heim 2480ee81d4 cmake: use macdeployqt instead of fixup_bundle to deploy on macOS
remove unused variable - bundle generator vars are unused by dragndrop

see comments for more info
2020-10-29 09:35:08 -05:00
Matthew Budd 461d3f88cd Added initial framework for Qt iNES header editor window. 2020-10-28 23:25:32 -04:00
mjbudd77 ebd79e5c13
Merge pull request #211 from mjbudd77/master
Qt GUI Disassembly with Symbolic Debug Function Update
2020-10-28 23:21:10 -04:00
Matthew Budd 58407e4ac3 Removed old comment block from Qt Trace logger. 2020-10-28 20:39:53 -04:00
Matthew Budd 130547fa89 Added symbolic debug replacement functionality during disassembly on Qt trace logger. 2020-10-28 20:37:39 -04:00
Matthew Budd cde409dece Added a disassembly with debug symbols function that replaces numeric addresses with text symbol names during the disassembly process. This allows for the symbol maps to be keyed into directly with an integer value and is more efficient that the text search replace algorithm. Currently the Qt debugger window is the only window that uses this function. The trace logger will be next. 2020-10-28 20:22:40 -04:00
Matthew Budd 82b5de3880 Restored Qt Gamepad config window to be modal. 2020-10-28 17:55:09 -04:00
mjbudd77 405ae70e02
Merge pull request #210 from mjbudd77/master
Changed all debug and tools windows to be non-modal top level windows…
2020-10-27 23:06:29 -04:00
Matthew Budd 86a12c96f9 Changed all debug and tools windows to be non-modal top level windows. This allows then to be minimized and maximized via the title bar buttons and will also show in the task bar of the window environment as separate windows. 2020-10-27 22:26:58 -04:00
mjbudd77 83cfd4b38b
Merge pull request #209 from mjbudd77/master
Added a scrollable area to the Qt gamepad config dialog window that w…
2020-10-27 21:10:51 -04:00
Matthew Budd 02dbc9e42d Added a scrollable area to the Qt gamepad config dialog window that will show anytime the window is not large enough to display full widget content. The scrollable area will act as a viewport into the larger widget layout from within the smaller dialog window. Again, it will only show the scroll bars if the window is not large enough. This will allow for the window to be fully viewable on smaller monitors such as the 1024x768 monitor in issue #208. 2020-10-27 20:22:25 -04:00
mjbudd77 1eb226b41d
Merge pull request #207 from mjbudd77/master
For Qt, added logic to allow for auto video scaling on window resize …
2020-10-27 07:35:47 -04:00
Matthew Budd 81cbabbf1f For Qt, added logic to allow for auto video scaling on window resize to be optional. An 'Auto scale on resize' checkbox has been added to the video config window. When this box is checked (and applied) the window will always auto rescale the video image to a best fit on a resize. If not checked, window will use the specified numerical scale values as a maximum scaling limit. This means that the window will allow scaling the image down if the window is not large enough to fit image at the requested scale, but will never scale the image up past the request scale. So if the window is at a large size and the requested scale is small, the result will be a small video image on a big window with a lot of black space. This is for issue #205. 2020-10-27 07:00:43 -04:00
mjbudd77 77f621e676
Merge pull request #206 from mjbudd77/master
Numerical Video Pixel Scaling Feature Added to Qt GUI Video Config Window
2020-10-26 21:45:01 -04:00
Matthew Budd 8f336bf8d3 Added logic to the Qt GUI Video Config Window to allow for the image pixel scaling to be numerically set. Also added a square pixel option to allow for the X and Y scales to either be set separately or tied together. This addresses issue #205. 2020-10-26 20:53:36 -04:00
Matthew Budd 2c7c87e3c8 Deleted unused icon file. 2020-10-26 17:28:11 -04:00
mjbudd77 4a5aafd638
Merge pull request #204 from mjbudd77/master
Bug fix for Qt GUI full screen command line switch.
2020-10-25 19:43:54 -04:00
Matthew Budd bd440682fd Bug fix for Qt GUI full screen command line switch. 2020-10-25 18:55:16 -04:00
mjbudd77 3f571003d5
Merge pull request #203 from mjbudd77/master
Various Improvements/Fixes for Qt GUI Zip File Archive Support
2020-10-25 12:43:14 -04:00
Matthew Budd 78d78ceab9 Modified the getRomFile Qt GUI function for ROMs opened from zip archives. The returned path will be the directory to the zip file and the base and suffix file parts come from the inner deflated zip file name. 2020-10-25 12:02:41 -04:00
Matthew Budd c09b1f6c7a For Qt GUI, added a zip archive ROM list selection window for the case where a zip file contains more than one ROM file in it. 2020-10-25 11:34:33 -04:00
Matthew Budd b0c460fd1d Bug fix for saving of CDL and debug files when the ROM was loaded from an archive. 2020-10-25 10:25:11 -04:00
mjbudd77 be3ed9b8d8
Merge pull request #202 from mjbudd77/master
Added code to allow for ROMs to be extracted and opened from zip file…
2020-10-24 22:55:09 -04:00
Matthew Budd 0ce058b35b Added code to allow for ROMs to be extracted and opened from zip file in Qt GUI. 2020-10-24 22:04:00 -04:00
adelikat 03e889dcde add ads.txt 2020-10-24 11:48:15 -05:00
mjbudd77 6a91541f42
Merge pull request #201 from mjbudd77/master
Added all non-compressed useable file types to the open ROM file dial…
2020-10-24 10:52:49 -04:00