Mercurial > repos > blastem
diff psg.c @ 1102:c15896605bf2
Clean up symbol visiblity and delete a ltitle bit of dead code
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 28 Nov 2016 22:45:46 -0800 |
parents | 8d032a368dd5 |
children | 4d16c09210fd |
line wrap: on
line diff
--- a/psg.c Tue Nov 15 08:18:57 2016 -0800 +++ b/psg.c Mon Nov 28 22:45:46 2016 -0800 @@ -91,7 +91,7 @@ #define PSG_VOL_DIV 14 //table shamelessly swiped from PSG doc from smspower.org -int16_t volume_table[16] = { +static int16_t volume_table[16] = { 32767/PSG_VOL_DIV, 26028/PSG_VOL_DIV, 20675/PSG_VOL_DIV, 16422/PSG_VOL_DIV, 13045/PSG_VOL_DIV, 10362/PSG_VOL_DIV, 8231/PSG_VOL_DIV, 6568/PSG_VOL_DIV, 5193/PSG_VOL_DIV, 4125/PSG_VOL_DIV, 3277/PSG_VOL_DIV, 2603/PSG_VOL_DIV, 2067/PSG_VOL_DIV, 1642/PSG_VOL_DIV, 1304/PSG_VOL_DIV, 0