diff options
author | Juan Quintela <quintela@redhat.com> | 2017-04-26 00:37:34 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-05-04 09:16:05 +0200 |
commit | ade339896b7b6f660a7765e398b373b9b80a6258 (patch) | |
tree | c0a0ac095e45975cd82b5f45741f596c5d144a39 /hw | |
parent | 17a1694a56298df9902ecdaf91a5dc930ed915a9 (diff) | |
download | qemu-ade339896b7b6f660a7765e398b373b9b80a6258.zip qemu-ade339896b7b6f660a7765e398b373b9b80a6258.tar.gz qemu-ade339896b7b6f660a7765e398b373b9b80a6258.tar.bz2 |
audio: OPLSetUpdateHandler is not used anywhere
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-id: 20170425223739.6703-22-quintela@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/audio/fmopl.c | 6 | ||||
-rw-r--r-- | hw/audio/fmopl.h | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/hw/audio/fmopl.c b/hw/audio/fmopl.c index f91e700..694a77b 100644 --- a/hw/audio/fmopl.c +++ b/hw/audio/fmopl.c @@ -1141,11 +1141,7 @@ void OPLSetTimerHandler(FM_OPL *OPL,OPL_TIMERHANDLER TimerHandler,int channelOff OPL->TimerHandler = TimerHandler; OPL->TimerParam = channelOffset; } -void OPLSetUpdateHandler(FM_OPL *OPL,OPL_UPDATEHANDLER UpdateHandler,int param) -{ - OPL->UpdateHandler = UpdateHandler; - OPL->UpdateParam = param; -} + /* ---------- YM3812 I/O interface ---------- */ int OPLWrite(FM_OPL *OPL,int a,int v) { diff --git a/hw/audio/fmopl.h b/hw/audio/fmopl.h index 375f971..446de08 100644 --- a/hw/audio/fmopl.h +++ b/hw/audio/fmopl.h @@ -102,7 +102,6 @@ typedef struct fm_opl_f { FM_OPL *OPLCreate(int clock, int rate); void OPLDestroy(FM_OPL *OPL); void OPLSetTimerHandler(FM_OPL *OPL,OPL_TIMERHANDLER TimerHandler,int channelOffset); -void OPLSetUpdateHandler(FM_OPL *OPL,OPL_UPDATEHANDLER UpdateHandler,int param); void OPLResetChip(FM_OPL *OPL); int OPLWrite(FM_OPL *OPL,int a,int v); |