diff options
author | 2022-10-11 22:54:52 -0400 | |
---|---|---|
committer | 2022-10-11 22:54:52 -0400 | |
commit | 50dbca94e73b6122cd2ef2f1a44ce5ba2e5e3f45 (patch) | |
tree | 3d70067bd21a1c19c658afe4a650c4f59b1ef0cb | |
parent | 2b161343f85d657f58c1af79c659b99f723f7e32 (diff) |
multipcm: Correct address bus width
-rw-r--r-- | src/devices/sound/multipcm.cpp | 4 | ||||
-rw-r--r-- | src/devices/sound/multipcm.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/sound/multipcm.cpp b/src/devices/sound/multipcm.cpp index e12edb1fb8f..e8564f22698 100644 --- a/src/devices/sound/multipcm.cpp +++ b/src/devices/sound/multipcm.cpp @@ -24,8 +24,8 @@ * The first 3 bytes are the offset into the file (big endian). (0, 1, 2). * Bit 23 is unknown. * Bit 22 is the sample format flag: 0 for 8-bit linear, 1 for 12-bit linear. - * Bit 21 is used by the MU5 on some samples for as-yet unknown purposes. - * The next 2 are the loop start point, in samples (big endian) (3, 4) + * Bit 21 is used by the MU5 on some samples for as-yet unknown purposes. (YMW-258-F has 22 address pins.) + * The next 2 bytes are the loop start point, in samples (big endian) (3, 4) * The next 2 are the 2's complement negation of of the total number of samples (big endian) (5, 6) * The next byte is LFO freq + depth (copied to reg 6 ?) (7, 8) * The next 3 are envelope params (Attack, Decay1 and 2, sustain level, release, Key Rate Scaling) (9, 10, 11) diff --git a/src/devices/sound/multipcm.h b/src/devices/sound/multipcm.h index a47c23aedc9..d23008eb598 100644 --- a/src/devices/sound/multipcm.h +++ b/src/devices/sound/multipcm.h @@ -15,7 +15,7 @@ class multipcm_device : public device_t, public device_sound_interface, - public device_rom_interface<24> + public device_rom_interface<22> { public: multipcm_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); |