Commit Graph

21 Commits

Author SHA1 Message Date
negativeExponent
fa74a364de Fix colour emphasis support for NTSC filter & raw palette + nes decoder shader
- this implementation is based on a more accurate colour emphasis from fceux.

- The raw palette + nes decoder shader was kinda incomplete since the implementation was based on
a per-frame basis which means that the emphasis bits were read once and applied to the whole frame. This
means that some games that uses a per pixel or per scanline emphasis would not appear correct. The more
accurate implementation reads emphasis bits from bits 5-7 of PPU[1] and saves this info in a separate frame.

- The same implementation is also used to fix emphasis for the ntsc filter.
2020-02-25 21:05:47 +08:00
negativeExponent
fa7b15eb61 Update region overrides and overclocking
- ines.c - misc cleanups
- Fix Dendy not restored when changing overrides back to auto mode
- directly apply new scanlines and additional scanlines when changing overclock settings
- (readability) change variable name overlock_state to overclock_enabled
2020-02-07 20:50:25 +08:00
negativeExponent
575db021c6 Fix savestates
- prevent possible issue on big-endian by adding mask
- specify correct variable size to state struct
2020-01-23 10:30:16 +08:00
retro-wertz
52c8155dee Use C-comment style 2017-10-15 03:13:11 +08:00
retro-wertz
21e814774d Overclock cleanup 2017-10-07 08:09:26 +08:00
retro-wertz
959e289756 Make vblank overclock respect 7-bit sample state 2017-10-07 07:48:35 +08:00
retro-wertz
feed492569 [overclock] allow choosing between postrender and vblank extra scanlines 2017-08-24 20:58:04 +08:00
retro-wertz
ef5f75a8d5 [overclock] remove duplicate, defined in x6502.c 2017-08-24 17:21:18 +08:00
twinaphex
8f2d28e4e5 C89 buildfixes 2017-07-01 11:01:46 +02:00
retro-wertz
1cb591d6ef add core option dendy and region override 2017-03-11 14:18:00 +08:00
retro-wertz
e9682625dc fix overclock buffer overflow 2017-03-09 18:01:33 +08:00
retro-wertz
1ec32bd8bc fix overclock audio issues 2017-03-09 17:49:28 +08:00
meepingsnesroms
f7c779eb7d Try to fix sound with overclock
The overclock would not disable because DMC_7bit was always being set
to 0.
2017-03-08 09:47:23 -08:00
twinaphex
417b8c6022 Add overclocking - backported from FCEUX with mods 2016-02-22 18:36:09 +01:00
twinaphex
5cfa9e8ac9 Don't rely on LSB_FIRST 2015-07-23 22:18:46 +02:00
Jose Ernesto Ramirez Ramirez
d4fa032402 mmc5 fix
mmc5 fix taken from fceux source code to handle correctly the register
$5130 in fceumm. Now we can play games like Legend of Link nes hack that
need this fix.
2015-06-27 18:04:58 -05:00
twinaphex
48b22acc96 Simplify big-endian CopySprites codepath 2014-12-09 14:12:31 +01:00
twinaphex
0604e89644 CopySprites - turn into do-while loop getting rid of the goto at
the end
2014-12-09 14:08:12 +01:00
twinaphex
5d8885b916 Simplify DoLine 2014-12-09 14:02:54 +01:00
twinaphex
30b4c60b21 Rename files endian.c and memory.c 2014-03-30 22:29:30 +02:00
twinaphex
7e6caac57d Initial commit - http://sourceforge.net/p/fceumm/code/160/ 2014-03-30 22:15:17 +02:00