Commit Graph

5699 Commits

Author SHA1 Message Date
zeromus d225d4863c make scmrev command work like desmume does (using system32 directory instead of sysnative). this probably fixes #459? or if not then desmume is broken, too. I'm not sure why the 32bit version can't be used every time. I think it can be. 2022-08-08 21:19:45 -04:00
zeromus 11f903d363 change built-in palettes to be bit-shifted properly so that whites are pure FF. fixes #540 2022-08-07 20:54:11 -04:00
zeromus bb1fc08d8e rename all iNES Header Editor to NES Header Editor (re #519) 2022-08-04 21:23:34 -04:00
harry 0e9ad2f400 Bug fix for mismatched allocation/deallocation calls. Memory allocated with malloc should use free (not delete) to deallocate memory. 2022-08-04 21:15:59 -04:00
harry 0c36a3575e Bug fix for missing va_end on stdarg list. According to online documentation, vfprintf does not call va_end. This was caught by cppcheck. 2022-08-04 21:15:59 -04:00
harry 44c8e15503 Fix for small memory leak in GetBackupFileName(). strdup allocates memory and returns a char pointer to it. However std::string allocates its own memory already. Since FCEU_MakeFName returns a std::string already, there is no reason to use strdup in between the assignment of one std::string to another. 2022-08-04 21:15:59 -04:00
harry 02bf3dbb4d Added cmake command line option to build with clang/gcc address sanitizer enabled. 2022-08-04 21:15:59 -04:00
harry 1b32752800 Removed redundant chunk size field from auds header in Avi RIFF viewer. 2022-08-04 21:15:59 -04:00
harry 9d18523731 Fix for heap read overflow in Qt Avi Riff viewer when reading avi files created by ffmpeg. Caught by running with clang/gcc address sanitizer. 2022-08-04 21:15:59 -04:00
harry 3fed0331cc Fix for global variable SFCPU read overflow error when running with clang/gcc address sanitizer. The code that writes the save state to disk expects the parameter description to at least be 4 bytes. 2022-08-04 21:15:59 -04:00
negative 14c215208e Fix Apple Town Story (FDS) crash
Fix https://github.com/TASEmulators/fceux/issues/487

fceumm and mednafen-nes has similar placement for SIRQStat
2022-06-05 16:18:07 -04:00
negative 2c85cc53c5 FDS: Update IRQ based on latest hardware notes
- IRQ updates based on latest notes. Verified with test rom.

https://www.nesdev.org/wiki/Family_Computer_Disk_System#IRQ_control_($4022)

Discussion and test rom file:
https://forums.nesdev.org/viewtopic.php?f=3&t=16507
test rom: https://forums.nesdev.org/viewtopic.php?p=205052#p205052

- Puff Puff Golf is still problematic and unplayable. added notes for
  it.

- Fix typo for a previous commit.
2022-06-05 16:18:07 -04:00
Dwedit dd35f4b12a Add size limit of 32768 to strings to guard against corrupt files
Add count limit for bookmarks and bookmark shortcuts
2022-06-03 16:18:06 -04:00
negative 2e70e27ba0 Mapper 235: Update support for 260-in-1 and add UNROM mode
- Using Soft-reset with switch between multicarts or the extra PRG rom
  which loads Contra game.

Fix: https://github.com/TASEmulators/fceux/issues/489
2022-06-03 16:16:57 -04:00
harry 971d7212ee Minor optimization of openGL alpha blending for Qt GUI. 2022-05-31 22:56:52 -04:00
harry 0287395bee For Qt GUI, added logic to raise and shift focus to hex editor window when opening from debugger. Fixes issue #509. 2022-05-31 22:56:52 -04:00
harry fc9f89dafc For Qt GUI build, make timestamp UTC based for reproducible builds. Patch from debian. 2022-05-31 22:56:52 -04:00
harry a87902b427 For Qt GUI, enable openGL GL_BLEND and set blend function to GL_ONE_MINUS_SRC_ALPHA. Fixes openGL driver issue #513 for running on wayland. 2022-05-31 22:56:52 -04:00
harry f32a98c89a Fix libswresample-dev dependency name for ubuntu linux appveyor build script. 2022-05-31 22:56:52 -04:00
zeromus b912004f69 oops, we've got to stub FCEUD_FlushTrace on these other platforms 2022-04-26 14:08:37 -04:00
zeromus def5768b9e remove fflush call on every single instruction trace, which can make modern SSD go totally dysfunctional. attempt to recover from this by flushing once a frame and whenever emulation pauses, so that you have a flushed trace file while debugging or whenever the main menu is interactive. 2022-04-26 13:22:22 -04:00
mjbudd77 4ed47577bd Updated home and download web pages for new release. 2022-03-23 21:46:45 -04:00
mjbudd77 2b8c618020 Updated readmes for 2.6.4 2022-03-23 20:29:37 -04:00
mjbudd77 043be28645 Added 2.6.4 release notes to help docs. 2022-03-23 20:26:50 -04:00
Matthew Budd 9df718c0fd Added 2.6.4. web page press release. 2022-03-23 20:15:28 -04:00
mjbudd77 9ce4b081e3 Fix for Qt iNES header editor mapper index. Account for mapper array not being continuously sequential. For issue #480. 2022-03-14 07:28:40 -04:00
mjbudd77 cf8c496a59 Updated unix debug build script to allow for selectable Qt5 or Qt6 build. 2022-03-11 21:37:41 -05:00
mjbudd77 9b6ab85424 Minor compiler warning cleanup 2022-03-11 06:58:16 -05:00
mjbudd77 a4dbabfcc5 More debug print clean up for Qt. 2022-03-11 06:38:13 -05:00
mjbudd77 49590c40bb Commented out more debug print statements in Qt GUI. 2022-03-11 06:29:32 -05:00
mjbudd77 97465f0266 Commented out debug print statements for Qt window closure. 2022-03-10 20:59:47 -05:00
mjbudd77 2ded6783f3 Bump version number to next patch level to differentiate from previous release. 2022-03-10 20:00:44 -05:00
mjbudd77 93a084caad Updated about text. 2022-03-10 19:55:33 -05:00
mjbudd77 f57ea9cf49 Commented out a couple unused variables for Qt GUI. 2022-03-09 20:51:14 -05:00
mjbudd77 795173b662 Added logic to force raise of Qt family keyboard dialog to top of window stack after key map dialog closes. Fixes irregular window focus issue on mac OS. 2022-03-09 19:42:30 -05:00
mjbudd77 c327dcd009 Updated web home and download pages for 2.6.3 release 2022-03-08 20:32:48 -05:00
mjbudd77 3bc0af149b Changed family keyboard key map dialog logic to prevent premature deletion of object during close. 2022-03-08 20:08:03 -05:00
mjbudd77 84cf82cb6a Added 2.6.3 web press release. 2022-03-07 06:58:10 -05:00
mjbudd77 b82cf16a16 Updated help docs with recent changes for the upcoming 2.6.3 release. 2022-03-07 06:21:50 -05:00
mjbudd77 c175086cbf Added logic to limit maximum font point size for Qt Family Keyboard Text. Prevents crash if user enters an excessive value. 2022-03-06 22:06:29 -05:00
mjbudd77 2b26c041d5 Added logic to allow resizing of Qt Family Keyboard Dialog to minimum size via GUI 2022-03-06 22:02:19 -05:00
mjbudd77 3acbdc1c5a
Merge pull request #473 from negativeExponent/m225_extra_ram
Mapper 225: Implement extra RAM
2022-03-06 21:49:01 -05:00
mjbudd77 3e7dc3474a Added enable/disable button for Qt family keyboard dialog. Added button mapping save, recall and reset to default functions for Qt FKB. 2022-03-06 21:47:36 -05:00
negative 7f4eb7e14f Mapper 225: Implement extra RAM
Some multicarts are buggy without extra ram implemented,

Fix https://github.com/TASEmulators/fceux/issues/467
2022-03-07 09:11:52 +08:00
mjbudd77 bef4e80e08 Merge branch 'master' of github.com:TASEmulators/fceux 2022-03-06 12:47:59 -05:00
mjbudd77 3510b5801c Added logic to save/load key bindings for family keyboard for Qt GUI. 2022-03-06 12:47:46 -05:00
negativeExponent 3bd6da8e83
FDS: Improve IRQ emulation (#469)
Fix https://github.com/TASEmulators/fceux/issues/468

Co-authored-by: negative <negativeExponent@users.noreply.github.com>
2022-03-06 19:39:17 +02:00
mjbudd77 aaa66388de Minor tweaks to key names and labels for Qt virtual family keyboard. 2022-03-06 07:41:25 -05:00
mjbudd77 a9a8898677 Added logic to display family keyboard key binding tree view for Qt GUI. 2022-03-06 07:17:24 -05:00
mjbudd77 0f25a40b93 Added logic to show shifted key characters on Qt virtual keyboard when shift is held down. 2022-03-06 05:46:20 -05:00