diff options
author | 2022-02-17 17:39:55 -0900 | |
---|---|---|
committer | 2022-02-17 21:39:55 -0500 | |
commit | 50668b5d5a80ddbb5da075b2579cfe02adff111e (patch) | |
tree | 973951397a24b8a162877a78f399e865dd074856 /src/devices/sound/nes_defs.h | |
parent | 2db924e5ec91c90b257eda774034e8b78a4a66c2 (diff) |
nes_apu.cpp: Improvements for triangle channel. (#9310)
- Don't set output level to zero, it is always determined by sequencer, which cannot be reset. This eliminates most of the popping, hopefully.
- Raised artificial frequency cutoff to about 18KHz instead of 11KHz.
- Added linear counter reload flag.
Diffstat (limited to 'src/devices/sound/nes_defs.h')
-rw-r--r-- | src/devices/sound/nes_defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/sound/nes_defs.h b/src/devices/sound/nes_defs.h index ce0909542a0..8200e325557 100644 --- a/src/devices/sound/nes_defs.h +++ b/src/devices/sound/nes_defs.h @@ -75,6 +75,7 @@ struct apu_t uint8 regs[4]; /* regs[1] unused */ int linear_length = 0; + bool linear_reload = false; int vbl_length = 0; int write_latency = 0; float phaseacc = 0.0; @@ -82,7 +83,6 @@ struct apu_t bool counter_started = false; bool enabled = false; uint8 output = 0; - uint8 output_next = 0; }; /* Noise Wave */ |