summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/devices/sound/fm.cpp3
-rw-r--r--src/devices/sound/fmopl.cpp9
2 files changed, 4 insertions, 8 deletions
diff --git a/src/devices/sound/fm.cpp b/src/devices/sound/fm.cpp
index c36a95831c1..01d8ba11bf1 100644
--- a/src/devices/sound/fm.cpp
+++ b/src/devices/sound/fm.cpp
@@ -2111,12 +2111,11 @@ struct ym2203_state
} // anonymous namespace
/* Generate samples for one of the YM2203s */
-void ym2203_update_one(void *chip, write_stream_view &buffer)
+void ym2203_update_one(void *chip, write_stream_view &buf)
{
ym2203_state *F2203 = (ym2203_state *)chip;
FM_OPN *OPN = &F2203->OPN;
int i;
- auto &buf = buffer;
FM_CH *cch[3];
cch[0] = &F2203->CH[0];
diff --git a/src/devices/sound/fmopl.cpp b/src/devices/sound/fmopl.cpp
index f843d781d42..9aa33637b71 100644
--- a/src/devices/sound/fmopl.cpp
+++ b/src/devices/sound/fmopl.cpp
@@ -2206,11 +2206,10 @@ void ym3812_set_update_handler(void *chip,OPL_UPDATEHANDLER UpdateHandler,device
** '*buffer' is the output buffer pointer
** 'length' is the number of samples that should be generated
*/
-void ym3812_update_one(void *chip, write_stream_view &buffer)
+void ym3812_update_one(void *chip, write_stream_view &buf)
{
FM_OPL *OPL = (FM_OPL *)chip;
uint8_t rhythm = OPL->rhythm&0x20;
- auto &buf = buffer;
int i;
for( i=0; i < buf.samples(); i++ )
@@ -2330,11 +2329,10 @@ void ym3526_set_update_handler(void *chip,OPL_UPDATEHANDLER UpdateHandler,device
** '*buffer' is the output buffer pointer
** 'length' is the number of samples that should be generated
*/
-void ym3526_update_one(void *chip, write_stream_view &buffer)
+void ym3526_update_one(void *chip, write_stream_view &buf)
{
FM_OPL *OPL = (FM_OPL *)chip;
uint8_t rhythm = OPL->rhythm&0x20;
- auto &buf = buffer;
int i;
for( i=0; i < buf.samples() ; i++ )
@@ -2481,13 +2479,12 @@ void y8950_set_delta_t_memory(void *chip, FM_READBYTE read_byte, FM_WRITEBYTE wr
** '*buffer' is the output buffer pointer
** 'length' is the number of samples that should be generated
*/
-void y8950_update_one(void *chip, write_stream_view &buffer)
+void y8950_update_one(void *chip, write_stream_view &buf)
{
int i;
FM_OPL *OPL = (FM_OPL *)chip;
uint8_t rhythm = OPL->rhythm&0x20;
YM_DELTAT &DELTAT = *OPL->deltat;
- auto &buf = buffer;
for( i=0; i < buf.samples() ; i++ )
{
for Sega Rally Angelo Salese2014-04-162-7/+52 | * Added geometry "eye mode", used by Sega Rally on car selection to display ↵ Angelo Salese2014-04-162-2/+10 | | | | them on different boxes. * Added ALU opcode 0x89 (FAVG), Last Bronx shows background scene in attract ↵ Angelo Salese2014-04-165-2/+27 | | | | then asserts. * Simplified Last Bronx fix, however it's confirmed to set dst address to 0, ↵ Angelo Salese2014-04-164-10/+25 | | | | Ville? * Attempt to hook up a bunch of floppy related bits to no avail, nw Angelo Salese2014-04-154-13/+64 | * Adding dummy IPT_UI_* slots as a temporary measure Nathan Woods2014-04-151-0/+7 | * Readding single step capability Nathan Woods2014-04-155-1/+25 | * ignore reads from the debugger (nw) smf-2014-04-151-0/+3 | * (MESS) clcd.c fixed irq hookup. [smf] smf-2014-04-151-4/+35 | * sh2: converted to use delegates, so to finally remove the remaining static ↵ Fabio Priuli2014-04-159-157/+139 | | | | variables used by 32x. nw. * tvcexp_slot_device: converted to devcb2 (nw) Ivan Vangelista2014-04-153-54/+34 | * MOS 6551 Fixed uninitialised variable that could prevent transmit irq from ↵ smf-2014-04-151-1/+3 | | | | being generated after reset. [smf] * aakart_device: converted to devcb2 (nw)