Commit Graph

21 Commits

Author SHA1 Message Date
retro-wertz
fd5c95e60c Fix pulse channel fails to clock lenght counter when silenced
- Backported implementation from Mednafen-NES
- Reference test roms:
https://forums.nesdev.com/viewtopic.php?t=15346
https://github.com/christopherpow/nes-test-roms/tree/master/apu_mixer
2018-12-08 19:56:31 +08:00
retro-wertz
3b2511a8fe Fix APU IRQ inhibit flag $4017 and dmc 2018-12-08 11:35:04 +08:00
retro-wertz
68c5289726 Update apu sweep unit
- http://wiki.nesdev.com/w/index.php/APU_Sweep
- APU sweep test roms:
   https://forums.nesdev.com/viewtopic.php?t=219&p=1403
- Fixes R.C. Pro AM II intro music
2018-12-08 08:42:33 +08:00
hizzlekizzle
64bccb470a Revert "Fix RC Pro Am II intro music and pulse phase reset behavior (#241)" (#242)
This reverts commit 5bc56f786b.
2018-12-05 13:25:25 -06:00
retro-wertz
5bc56f786b Fix RC Pro Am II intro music and pulse phase reset behavior (#241)
References:
- RC Pro Am II, intro music square channels are wrong.
- apu_phase_reset.nes -
http://forums.nesdev.com/viewtopic.php?f=2&t=15346
2018-12-05 10:45:24 -06:00
retro-wertz
1993f31352 Fix wrong info in some comments 2018-12-05 15:09:13 +08:00
retro-wertz
b5803e0e1d c89 compliant? (#237)
* Replace C++ comments into  C comments

* Move INLINE out of Makefile.common, move to fceu-types.h

An INLINE define is still existing in Makefile.common for msvc (dont
have a way to to test that). Moved the rest into fceu-types.h using the
one already existing from emu2413.h.

* Increase maximum volume for apu channels
2018-12-03 20:25:17 -06:00
retro-wertz
829a7552f1 Audiostuff (#236)
* Add option to enable/disable audio channels

Audio options are backports from FCEUX. Options are set as on/off toggle for each apu channel.

Compile with DEBUG=1 to see options.

* Add missing audio state vars, fix for hq audio when using runahead

* Additional checks for save ram (battery)

* Cleanup

* Update libretro header
2018-11-29 19:22:36 -06:00
twinaphex
02840d9cff C89_BUILD fixes 2018-03-20 16:07:46 +01:00
Dwedit
ef6e70075f corrected non-functional typo 2018-03-16 23:25:48 -05:00
Dwedit
a76897a920 More variables in sound state, plus first 32 words of sound buffer (needed for filtering) 2018-03-16 23:17:37 -05:00
Dwedit
b9df5f188c Smooth sound after loading state
Moved function-level static variables outside of functions and renamed them
2018-03-15 19:50:46 -05:00
retro-wertz
23a5188d63 Fix mistake
rookie mistake :(
2017-10-18 20:14:15 +08:00
retro-wertz
52c8155dee Use C-comment style 2017-10-15 03:13:11 +08:00
retro-wertz
2cdf32300b Add core option Swap Duty Cycles 2017-10-05 14:43:20 +08:00
retro-wertz
baf3957220 Corrected PAL noise frequency table 2017-09-02 09:12:42 +08:00
retro-wertz
feed492569 [overclock] allow choosing between postrender and vblank extra scanlines 2017-08-24 20:58:04 +08:00
retro-wertz
016a68c018 Silence stuffs we dont use in libretro 2017-05-08 10:10:24 +08:00
twinaphex
417b8c6022 Add overclocking - backported from FCEUX with mods 2016-02-22 18:36:09 +01:00
twinaphex
21aa0759da Remove unused files 2015-08-06 13:34:20 +02:00
twinaphex
7e6caac57d Initial commit - http://sourceforge.net/p/fceumm/code/160/ 2014-03-30 22:15:17 +02:00