add volume in the SDL build

This commit is contained in:
Jorj Bauer 2020-12-28 22:57:11 -05:00
parent 0ba196b6ab
commit 49fc86158a

View File

@ -10,8 +10,8 @@ extern "C"
};
// What values do we use for logical speaker-high and speaker-low?
#define HIGHVAL (0x4FFF)
#define LOWVAL (-(0x4FFF))
#define HIGHVAL ((0x4FFF) >> (15-g_volume))
#define LOWVAL (-((0x4FFF) >> (15-g_volume)))
#include "globals.h"