mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
fixed compilation
svn-id: r11976
This commit is contained in:
parent
f6ff11509c
commit
25a7b9ef33
@ -808,7 +808,7 @@ void Sound::startSfxSound(File *file, int file_size, PlayingSoundHandle *handle,
|
||||
return;
|
||||
}
|
||||
|
||||
int32 size;
|
||||
int size;
|
||||
int rate;
|
||||
byte *data = loadVOCFile(_sfxFile, size, rate);
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "sound/voc.h"
|
||||
|
||||
|
||||
byte *readVOCFromMemory(byte *ptr, int32 &size, int &rate, int32 &loops) {
|
||||
byte *readVOCFromMemory(byte *ptr, int &size, int &rate, int &loops) {
|
||||
|
||||
assert(strncmp((char *)ptr, "Creative Voice File\x1A", 20) == 0);
|
||||
int32 offset = READ_LE_UINT16(ptr + 20);
|
||||
@ -92,7 +92,7 @@ enum {
|
||||
// readCreativeVoc(). Obviously this is bad, it should rather use that function
|
||||
// (after some tweaks to readCreativeVoc, to deal with the alternate VTLK
|
||||
// header).
|
||||
byte *loadVOCFile(File *file, int32 &size, int &rate) {
|
||||
byte *loadVOCFile(File *file, int &size, int &rate) {
|
||||
char ident[8];
|
||||
|
||||
if (file->read(ident, 8) != 8)
|
||||
|
Loading…
Reference in New Issue
Block a user