Skip to content

Commit 88e12d9

Browse files
committed
k007232: remove really old changelog
1 parent 4bb8a1f commit 88e12d9

File tree

2 files changed

+10
-29
lines changed

2 files changed

+10
-29
lines changed

src/devices/sound/k007232.cpp

Lines changed: 7 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,9 @@
11
// license:BSD-3-Clause
2-
// copyright-holders:Nicola Salmoria,Hiromitsu Shioya
2+
// copyright-holders:Nicola Salmoria, Hiromitsu Shioya
33
/*********************************************************/
44
/* Konami PCM controller */
55
/*********************************************************/
66

7-
/*
8-
Changelog, Hiromitsu Shioya 02/05/2002
9-
fixed start address decode timing. (sample loop bug.)
10-
11-
Changelog, Mish, August 1999:
12-
Removed interface support for different memory regions per channel.
13-
Removed interface support for differing channel volume.
14-
15-
Added bankswitching.
16-
Added support for multiple chips.
17-
18-
(NB: Should different memory regions per channel be needed, the bankswitching function can set this up).
19-
20-
Changelog, Nicola, August 1999:
21-
Added Support for the k007232_VOL() macro.
22-
Added external port callback, and functions to set the volume of the channels
23-
*/
24-
25-
267
#include "emu.h"
278
#include "k007232.h"
289
#include "wavwrite.h"
@@ -69,7 +50,7 @@ void k007232_device::device_start()
6950
}
7051
space(0).cache(m_cache);
7152

72-
/* Set up the chips */
53+
// set up the chips
7354
for (int i = 0; i < 2; i++)
7455
{
7556
m_channel[i].addr = 0;
@@ -79,10 +60,10 @@ void k007232_device::device_start()
7960
m_channel[i].play = 0;
8061
m_channel[i].bank = 0;
8162
}
82-
m_channel[0].vol[0] = 255; /* channel A output to output A */
63+
m_channel[0].vol[0] = 255; // channel A output to output A
8364
m_channel[0].vol[1] = 0;
8465
m_channel[1].vol[0] = 0;
85-
m_channel[1].vol[1] = 255; /* channel B output to output B */
66+
m_channel[1].vol[1] = 255; // channel B output to output B
8667

8768
for (auto & elem : m_wreg)
8869
elem = 0;
@@ -242,7 +223,7 @@ void k007232_device::sound_stream_update(sound_stream &stream)
242223
channel_t &channel = m_channel[i];
243224
if (channel.play)
244225
{
245-
/**** PCM setup ****/
226+
// PCM setup
246227
int const vol_a = channel.vol[0] * 2;
247228
int const vol_b = channel.vol[1] * 2;
248229

@@ -254,12 +235,12 @@ void k007232_device::sound_stream_update(sound_stream &stream)
254235
// end of sample
255236
if (BIT(m_wreg[13], i))
256237
{
257-
/* loop to the beginning */
238+
// loop to the beginning
258239
addr = channel.start;
259240
}
260241
else
261242
{
262-
/* stop sample */
243+
// stop sample
263244
channel.play = false;
264245
break;
265246
}

src/devices/sound/k007232.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// license:BSD-3-Clause
2-
// copyright-holders:Nicola Salmoria
2+
// copyright-holders:Nicola Salmoria, Hiromitsu Shioya
33
/*********************************************************/
44
/* Konami PCM controller */
55
/*********************************************************/
@@ -51,7 +51,7 @@ class k007232_device : public device_t, public device_sound_interface, public de
5151

5252
struct channel_t
5353
{
54-
u8 vol[2]; /* volume for the left and right channel */
54+
u8 vol[2]; // volume for the left and right channel
5555
u32 addr;
5656
int counter;
5757
u32 start;
@@ -65,7 +65,7 @@ class k007232_device : public device_t, public device_sound_interface, public de
6565
void start(int ch);
6666

6767
channel_t m_channel[2]; // 2 channels
68-
u8 m_wreg[0x10]; /* write data */
68+
u8 m_wreg[0x10]; // write data
6969
u32 m_pcmlimit;
7070
u32 m_bank;
7171

0 commit comments

Comments
 (0)