Commit Graph

76 Commits

Author SHA1 Message Date
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
zeromus 907af7f87e try optimizing deemph vs scale2x (should fix #375) 2021-06-17 22:32:48 -04:00
Alexey 'Cluster' Avdyukhin c5d59a24b5 Ability to bind key combinations using "DWaitButton", refactoring 2021-06-08 14:16:27 -04:00
feos c2606a54cf I was begged to restore pal simulation 2021-06-05 14:28:05 +03: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 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 d01c019f11 Memory leak fix in video blit cleanup. 2021-05-18 20:41:14 -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 8d9e99fd18 Build fixes for linux from changes made for Qt windows compatibility. 2021-02-06 19:15:06 -05:00
mjbudd77 35bb4be6f6 First successful build of Qt windows fceux. 2021-02-06 12:15:28 -05:00
jnahmias 6f45846975
fix spelling mistakes caught by lintian (#314) 2021-01-31 23:57:24 -05:00
mjbudd77 314e3d90a1
Removed unused deprecated automake build files. (#297) 2021-01-06 21:21:35 -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
Matthew Budd 0c4af737dd Added logic to GTK GUI to generate default mapping files for new game controllers. 2020-08-15 13:18:16 -04:00
Matthew Budd ebae060035 Cleaned up a few compiler and cppcheck warnings in code base. There are still quite a few more TODO. 2020-08-14 22:15:47 -04:00
Matthew Budd 7919071a25 Cleaned up gcc compiler warning : ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2020-06-19 23:58:12 -04:00
Matthew Budd 61f55f3e28 Ensure that pallette variable has been freed before attempting malloc a new heap. 2020-05-12 22:45:08 -04:00
owomomo 29b36a801d Cheat console:
1. Added a global switch for all cheats, it is checked by default. Check or uncheck it can quickly tweak all cheats enabled or disabled. It's not game specific and effective to all games.
2. Added a checkmark to check behaviour of automatically load cheats.
3. Fixed a wierd bug in loading names of cheats from file.
iNES Header Editor:
4. Disable iNES header editor menu when currently loaded game is not in iNES format.
Others:
5. Some of the checkbox passed parameter MF_CHECKED, the right one is BST_CHECKED, though they have the same value.
6. Code/Data Logger is created by CreateDialog(), but destroyed by EndDialog()? A non-modal window should be destroy by DestroyWindow(), EndDialog() is for DialogBox(). It seems nobody noticed this bug for years.
7. Detail.

Currently there are some opposite tweaks in the config file for the new feature in cheat console, for example the unchcecked state is 1 in config file, that's for backward compatibility.
The iNES header editor might not quite stable as newly baked from the oven, there might be some improvements to its code.
2019-06-12 23:02:20 +08:00
Brad Smith e8c61d1b23 NTSC filter was missing the newer more accurate support for emphasis (was using an old 1-emph-per-blit approximation) 2018-06-19 23:06:55 -04:00
zeromus 0307e3b827 migration tidying (build master from trunk) 2018-04-08 17:35:15 -05:00
punkrockguy318 2be5084a7b create new subversion repo structure (trunk, tags, branches)
[[Split portion of a mixed commit.]]
2013-03-15 19:00:14 +00:00
punkrockguy318 969258d32a scons: dynamically generate the build source list 2012-12-01 21:54:02 +00:00
ansstuff a2fb69118b * Taseditor: Delete, Insert, InsertNum, Clone and PasteInsert also shift Laglog
* added "Force Grayscale" checkbox to Palette config
* deleted old SubWCWeb.exe since SubWCRev.exe is used instead
2012-08-29 17:46:58 +00:00
punkrockguy318 449ac4352f updated FSF license in COPYING license file and source and header files 2012-08-04 22:33:16 +00:00
punkrockguy318 4af370ae10 sdl: fix "value decreased" in cheat search menu; add value increased/decreased by known values - sf#3523150 2012-05-17 16:19:39 +00:00
punkrockguy318 679b98e70b sdl: fix typo / output formatting issue 2012-03-06 08:48:19 +00:00
zeromus a7a3ebfd0b since microsoft is too busy making visual studio purple to do anything useful like add dirent.h, we have to use someone else's dirent.h. add it to fix recent configsys changes, and do some other warnings cleanup 2012-03-06 06:54:39 +00:00
punkrockguy318 e1ab5818af adjust loading string in previous commit to be more accurate 2012-03-06 06:41:52 +00:00
punkrockguy318 7d6a4b00d2 sdl: by default; check ${fceux_dir}/cfg.d/ for any files and loads the configuration in alphabetical order. useful for applying a specific configuration 2012-03-06 06:37:10 +00:00
punkrockguy318 06c8230c88 common/config: code formatting cleanup
NOTE:  please use hardtabs (at least in drivers/sdl and drivers/common/config*)
  devs: we should set a coding standard for future code/patches that we should be trying to conform to to prevent a mishmash of tabs/spaces and  un-elegant code
2012-03-06 06:10:49 +00:00
punkrockguy318 878c379242 config: add Config::_loadFile function to allow loading custom configuration file 2012-03-06 06:03:26 +00:00
punkrockguy318 55a1faadd7 comment adjustment to head of fceux.cfg 2011-10-19 06:51:31 +00:00
qeed 0d63ef203a added wrapper around places that uses malloc to use FCEU_dmalloc, for debugging purpose if the need comes up 2010-09-19 00:00:38 +00:00
qeed d89fdac566 fixed compile errors and buffer overflow for bworld 2010-09-03 17:11:45 +00:00
qeed 0666741d55 use ARRAY_SIZE macro rather than fixing buffer size forfgets 2010-09-03 16:38:20 +00:00
qeed b8e439ac46 fixed overflow 2010-09-03 16:29:08 +00:00
zeromus 3513be6f7d improve commandline parsing more 2010-08-15 02:01:47 +00:00
qeed bc334c4cac add nes_ntsc to the build script 2010-05-23 15:56:39 +00:00
ugetab 0e7752fc4c Forgot to include the new files in the last commit. Now it will compile. 2010-05-21 20:42:05 +00:00
ugetab e5f12da441 After much effort, added NTSC 2x scaler option to both Windows and SDL. Includes new config option NTSCwinspecial. 2010-05-21 20:36:24 +00:00
ugetab 16ae807d6b Very likely fixes the Recent games list(to prevent games from randomly going missing from it). Testing suggests that this could have caused setting-erasure errors before the Recent games error started occurring regularly. 2010-04-09 06:58:50 +00:00
punkrockguy318 2e5093fe6e SDL: Comment added to SDL config file indicating the location of the keycode definitons 2010-02-20 04:11:29 +00:00
adelikat 106e1ca031 Win32 - adding a Save Config File menu item. 2009-08-22 17:18:58 +00:00
punkrockguy318 982facdad7 fix compile errors with gcc 2008-12-19 02:29:39 +00:00
shinydoofy d9ea2a263a added SDL avi creation support and changed speed throttling to use it 2008-10-25 12:36:03 +00:00
adelikat 89c8715548 replaced instances of "fceux.cfg" with a variable std:string cfgFile 2008-10-13 16:09:13 +00:00
zeromus 13c8810730 fix sdl configfile woes 2008-08-13 04:47:19 +00:00