aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hugo/sound.cpp')
-rw-r--r--engines/hugo/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hugo/sound.cpp b/engines/hugo/sound.cpp
index 77bd4a19d9..039d380f76 100644
--- a/engines/hugo/sound.cpp
+++ b/engines/hugo/sound.cpp
@@ -376,8 +376,8 @@ void SoundHandler::checkMusic() {
* Timer: >0 - song still going, 0 - Stop note, -1 - Set next note
*/
void SoundHandler::pcspkr_player() {
- static char pcspkrTimer = 0; // Timer (ticks) for note being played
- static char pcspkrOctave = 3; // Current octave 1..7
+ static byte pcspkrTimer = 0; // Timer (ticks) for note being played
+ static byte pcspkrOctave = 3; // Current octave 1..7
static byte pcspkrNoteDuration = 2; // Current length of note (ticks)
static uint16 pcspkrNotes[8] = {1352, 1205, 2274, 2026, 1805, 1704, 1518}; // The 3rd octave note counts A..G
static uint16 pcspkrSharps[8] = {1279, 1171, 2150, 1916, 1755, 1611, 1435}; // The sharps, A# to B#