mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
AGS: Fix formatting of debug message
About bad index of audio channel
This commit is contained in:
parent
0a90e4227c
commit
10a5566dab
@ -168,7 +168,7 @@ int System_GetAudioChannelCount() {
|
||||
ScriptAudioChannel *System_GetAudioChannels(int index) {
|
||||
if ((index < 0) || (index >= _GP(game).numGameChannels))
|
||||
quitprintf("!System.AudioChannels: invalid sound channel index %d, supported %d - %d",
|
||||
0, _GP(game).numGameChannels);
|
||||
index, 0, _GP(game).numGameChannels - 1);
|
||||
|
||||
return &_G(scrAudioChannel)[index];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user