aboutsummaryrefslogtreecommitdiff
path: root/hw/audio/adlib.c
diff options
context:
space:
mode:
authorHervé Poussineau <hpoussin@reactos.org>2017-06-21 06:34:00 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-07-17 11:09:02 +0200
commitc57fbf50e7b5f94efc697b1d8ef387a5b2b4a5ee (patch)
tree388a2c9c506262443ed2fcc86e72aa8ba1e95c62 /hw/audio/adlib.c
parentfacd0e97737a41b0bed072a95dcc3eb863c7667f (diff)
downloadqemu-c57fbf50e7b5f94efc697b1d8ef387a5b2b4a5ee.zip
qemu-c57fbf50e7b5f94efc697b1d8ef387a5b2b4a5ee.tar.gz
qemu-c57fbf50e7b5f94efc697b1d8ef387a5b2b4a5ee.tar.bz2
audio/fmopl: modify timer callback to give opaque and channel parameters in two arguments
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20170621043401.19842-2-hpoussin@reactos.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/audio/adlib.c')
-rw-r--r--hw/audio/adlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/adlib.c b/hw/audio/adlib.c
index c6e0f10..be42034 100644
--- a/hw/audio/adlib.c
+++ b/hw/audio/adlib.c
@@ -130,7 +130,7 @@ static uint32_t adlib_read(void *opaque, uint32_t nport)
return data;
}
-static void timer_handler (int c, double interval_Sec)
+static void timer_handler (void *opaque, int c, double interval_Sec)
{
AdlibState *s = glob_adlib;
unsigned n = c & 1;