summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-05-23 23:51:49 -0700
committerMike Pavone <pavone@retrodev.com>2013-05-23 23:51:49 -0700
commit1628fcfc93742b30ff200a9a2f9454fb6d597c2e (patch)
tree46eed02403c9c9e01c655577c81bf200781c6529
parent9e33979cee499191c05fa63262327f7f17a70305 (diff)
Fix clipping in PSG core
-rw-r--r--psg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/psg.c b/psg.c
index 81c5754..e035182 100644
--- a/psg.c
+++ b/psg.c
@@ -58,7 +58,7 @@ void psg_write(psg_context * context, uint8_t value)
}
}
-#define PSG_VOL_DIV 2
+#define PSG_VOL_DIV 4
//table shamelessly swiped from PSG doc from smspower.org
int16_t volume_table[16] = {