aboutsummaryrefslogtreecommitdiff
path: root/hw/adlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/adlib.c')
-rw-r--r--hw/adlib.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/hw/adlib.c b/hw/adlib.c
index fa2a03dffc..f482d1fa84 100644
--- a/hw/adlib.c
+++ b/hw/adlib.c
@@ -310,7 +310,8 @@ int Adlib_init (AudioState *audio)
"adlib",
s,
adlib_callback,
- &as
+ &as,
+ 0 /* XXX: little endian? */
);
if (!s->voice) {
Adlib_fini (s);
@@ -321,8 +322,8 @@ int Adlib_init (AudioState *audio)
s->mixbuf = qemu_mallocz (s->samples << SHIFT);
if (!s->mixbuf) {
- dolog ("not enough memory for adlib mixing buffer (%d)\n",
- s->samples << SHIFT);
+ dolog ("Could not allocate mixing buffer, %d samples (each %d bytes)\n",
+ s->samples, 1 << SHIFT);
Adlib_fini (s);
return -1;
}