mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
Restore consistent formatting of audio devices
This commit is contained in:
parent
03dfe9f871
commit
d999f7e023
5 changed files with 31 additions and 31 deletions
|
@ -1066,14 +1066,14 @@ static void reset_mixer (SB16State *s)
|
|||
}
|
||||
}
|
||||
|
||||
static IO_WRITE_PROTO(mixer_write_indexb)
|
||||
static IO_WRITE_PROTO (mixer_write_indexb)
|
||||
{
|
||||
SB16State *s = opaque;
|
||||
(void) nport;
|
||||
s->mixer_nreg = val;
|
||||
}
|
||||
|
||||
static IO_WRITE_PROTO(mixer_write_datab)
|
||||
static IO_WRITE_PROTO (mixer_write_datab)
|
||||
{
|
||||
SB16State *s = opaque;
|
||||
|
||||
|
@ -1129,13 +1129,13 @@ static IO_WRITE_PROTO(mixer_write_datab)
|
|||
s->mixer_regs[s->mixer_nreg] = val;
|
||||
}
|
||||
|
||||
static IO_WRITE_PROTO(mixer_write_indexw)
|
||||
static IO_WRITE_PROTO (mixer_write_indexw)
|
||||
{
|
||||
mixer_write_indexb (opaque, nport, val & 0xff);
|
||||
mixer_write_datab (opaque, nport, (val >> 8) & 0xff);
|
||||
}
|
||||
|
||||
static IO_READ_PROTO(mixer_read)
|
||||
static IO_READ_PROTO (mixer_read)
|
||||
{
|
||||
SB16State *s = opaque;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue