mirror of https://github.com/xemu-project/xemu.git
adlib: remove write-only variable
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
22ec3283ef
commit
e8beeae4c0
|
@ -119,7 +119,6 @@ static IO_WRITE_PROTO (adlib_write)
|
||||||
{
|
{
|
||||||
AdlibState *s = opaque;
|
AdlibState *s = opaque;
|
||||||
int a = nport & 3;
|
int a = nport & 3;
|
||||||
int status;
|
|
||||||
|
|
||||||
s->active = 1;
|
s->active = 1;
|
||||||
AUD_set_active_out (s->voice, 1);
|
AUD_set_active_out (s->voice, 1);
|
||||||
|
@ -127,9 +126,9 @@ static IO_WRITE_PROTO (adlib_write)
|
||||||
adlib_kill_timers (s);
|
adlib_kill_timers (s);
|
||||||
|
|
||||||
#ifdef HAS_YMF262
|
#ifdef HAS_YMF262
|
||||||
status = YMF262Write (0, a, val);
|
YMF262Write (0, a, val);
|
||||||
#else
|
#else
|
||||||
status = OPLWrite (s->opl, a, val);
|
OPLWrite (s->opl, a, val);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue