mirror of
https://github.com/LostArtefacts/TR2X.git
synced 2025-01-24 15:05:41 +00:00
s/music: fix pauld volume command
This commit is contained in:
parent
2379a75772
commit
4403c8b77d
@ -27,6 +27,7 @@ typedef struct CDAUDIO_SPEC {
|
||||
const int32_t m_CDAudioSpecCount = 2;
|
||||
static struct CDAUDIO_SPEC m_CDAudioSpecs[] = {
|
||||
{
|
||||
// NOTE: volume control doesn't seem to work with WAV
|
||||
.path = "audio/cdaudio.wav",
|
||||
.audio_type = "waveaudio",
|
||||
},
|
||||
@ -254,7 +255,7 @@ static void S_Music_PaulD_SetVolume(int32_t volume)
|
||||
}
|
||||
|
||||
S_Music_PaulD_Command(
|
||||
NULL, 0, "setaudio " CD_ALIAS " volume to %llu", volume);
|
||||
NULL, 0, "setaudio " CD_ALIAS " volume to %lu", volume);
|
||||
|
||||
char status_string[32];
|
||||
if (!S_Music_PaulD_Command(
|
||||
|
Loading…
x
Reference in New Issue
Block a user