aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/music.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword1/music.cpp')
-rw-r--r--engines/sword1/music.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword1/music.cpp b/engines/sword1/music.cpp
index 8553b6a286..850a861f67 100644
--- a/engines/sword1/music.cpp
+++ b/engines/sword1/music.cpp
@@ -31,7 +31,6 @@
#include "sword1/sword1.h"
#include "sword1/music.h"
-#include "sword1/vag.h"
#include "sound/aiff.h"
#include "sound/flac.h"
@@ -39,6 +38,7 @@
#include "sound/mp3.h"
#include "sound/vorbis.h"
#include "sound/wave.h"
+#include "sound/vag.h"
#define SMP_BUFSIZE 8192
@@ -274,7 +274,7 @@ bool MusicHandle::playPSX(uint16 id, bool loop) {
if (size != 0xffffffff) {
_file.seek(offset, SEEK_SET);
- _audioSource = new VagStream(_file.readStream(size), loop);
+ _audioSource = new Audio::VagStream(_file.readStream(size), loop);
fadeUp();
} else {
_audioSource = NULL;