aboutsummaryrefslogtreecommitdiffstats
path: root/hw/goldfish_audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/goldfish_audio.c')
-rw-r--r--hw/goldfish_audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/goldfish_audio.c b/hw/goldfish_audio.c
index 434522c..60e652c 100644
--- a/hw/goldfish_audio.c
+++ b/hw/goldfish_audio.c
@@ -263,7 +263,7 @@ static int audio_state_load( QEMUFile* f, void* opaque, int version_id )
goldfish_audio_buff_get( s->out_buff2, f );
goldfish_audio_buff_get (s->in_buff, f);
}
- return -1;
+ return ret;
}
static void enable_audio(struct goldfish_audio_state *s, int enable)