]> Git Repo - qemu.git/commitdiff
audio: OPLSetUpdateHandler is not used anywhere
authorJuan Quintela <[email protected]>
Tue, 25 Apr 2017 22:37:34 +0000 (00:37 +0200)
committerGerd Hoffmann <[email protected]>
Thu, 4 May 2017 07:16:05 +0000 (09:16 +0200)
Signed-off-by: Juan Quintela <[email protected]>
Message-id: 20170425223739[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
hw/audio/fmopl.c
hw/audio/fmopl.h

index f91e700bf9ed312344a3f872d066e35b1f206ae1..694a77b22967c9e5bedd0618f1b5235cad8b513b 100644 (file)
@@ -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)
 {
index 375f971b4db56f0e17f7800efad7f00a72413a79..446de08d15878eb7a7e7f51b13aaba186eac84be 100644 (file)
@@ -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);
This page took 0.028672 seconds and 4 git commands to generate.