mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-11-22 15:31:41 +00:00
add volume in the SDL build
This commit is contained in:
parent
0ba196b6ab
commit
49fc86158a
@ -10,8 +10,8 @@ extern "C"
|
|||||||
};
|
};
|
||||||
|
|
||||||
// What values do we use for logical speaker-high and speaker-low?
|
// What values do we use for logical speaker-high and speaker-low?
|
||||||
#define HIGHVAL (0x4FFF)
|
#define HIGHVAL ((0x4FFF) >> (15-g_volume))
|
||||||
#define LOWVAL (-(0x4FFF))
|
#define LOWVAL (-((0x4FFF) >> (15-g_volume)))
|
||||||
|
|
||||||
#include "globals.h"
|
#include "globals.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user