aboutsummaryrefslogtreecommitdiff
path: root/hw/audio/fmopl.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2017-04-26 00:37:36 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-05-04 09:16:05 +0200
commitb3b40917c75c28036b9c7e89a42ee6dfbeb3bf90 (patch)
tree135911264bb73218a50ce33da7c8b0c14304b684 /hw/audio/fmopl.c
parente14e09c945fbca5dd0a01f689c70538d827734fb (diff)
audio: UpdateHandler is not used anymore
Signed-off-by: Juan Quintela <quintela@redhat.com> Message-id: 20170425223739.6703-24-quintela@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/audio/fmopl.c')
-rw-r--r--hw/audio/fmopl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/audio/fmopl.c b/hw/audio/fmopl.c
index 5b8a884a59..99d09c55b3 100644
--- a/hw/audio/fmopl.c
+++ b/hw/audio/fmopl.c
@@ -1147,7 +1147,6 @@ int OPLWrite(FM_OPL *OPL,int a,int v)
}
else
{ /* data port */
- if(OPL->UpdateHandler) OPL->UpdateHandler(OPL->UpdateParam,0);
#ifdef OPL_OUTPUT_LOG
if(opl_dbg_fp)
{
@@ -1197,7 +1196,6 @@ int OPLTimerOver(FM_OPL *OPL,int c)
if( OPL->mode & 0x80 )
{ /* CSM mode total level latch and auto key on */
int ch;
- if(OPL->UpdateHandler) OPL->UpdateHandler(OPL->UpdateParam,0);
for(ch=0;ch<9;ch++)
CSMKeyControll( &OPL->P_CH[ch] );
}