diff options
author | Vas Crabb <vas@vastheman.com> | 2022-02-20 19:10:34 +1100 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2022-02-20 19:10:34 +1100 |
commit | 4dff3746feb1b5b8278480a2f3e004ea9a11d2fa (patch) | |
tree | 77c2aa39228caf56c9813ef1df8d5af69a9a28b5 /src/devices/sound | |
parent | 02d29b771ab76f0d45ccd7d04be7a9680d8a2148 (diff) |
srcclean in preparation for 0.241 release
Diffstat (limited to 'src/devices/sound')
-rw-r--r-- | src/devices/sound/nes_apu.cpp | 4 | ||||
-rw-r--r-- | src/devices/sound/ymf271.cpp | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/sound/nes_apu.cpp b/src/devices/sound/nes_apu.cpp index ad91fca5784..fc73a2a25e0 100644 --- a/src/devices/sound/nes_apu.cpp +++ b/src/devices/sound/nes_apu.cpp @@ -147,7 +147,7 @@ void nesapu_device::device_start() /* pulse channel output: - 95.88 + 95.88 ----------------------- 8128 ----------------- + 100 @@ -163,7 +163,7 @@ void nesapu_device::device_start() /* triangle, noise, DMC channel output: - 159.79 + 159.79 ------------------------------- 1 ------------------------- + 100 diff --git a/src/devices/sound/ymf271.cpp b/src/devices/sound/ymf271.cpp index 4cebeb3c019..6e82ee97607 100644 --- a/src/devices/sound/ymf271.cpp +++ b/src/devices/sound/ymf271.cpp @@ -18,7 +18,7 @@ "determines if slot output is accumulated(1), or output directly(0)" - Is memory handling 100% correct? At the moment, seibuspi.cpp is the only hardware currently emulated that uses external handlers. - - *16 multiplier for timer B is free-running like other yamaha FM chips? + - *16 multiplier for timer B is free-running like other yamaha FM chips? */ #include "emu.h" @@ -254,10 +254,10 @@ inline void ymf271_device::calculate_status_end(int slotnum, bool state) return; /* - bit scheme is kinda twisted - status1 Busy End36 End24 End12 End0 ---- TimB TimA - status2 End44 End32 End20 End8 End40 End28 End16 End4 - */ + bit scheme is kinda twisted + status1 Busy End36 End24 End12 End0 ---- TimB TimA + status2 End44 End32 End20 End8 End40 End28 End16 End4 + */ uint8_t subbit = slotnum / 12; uint8_t bankbit = ((slotnum % 12) >> 2); |