summaryrefslogtreecommitdiff
path: root/src/resources/sdlmusic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/sdlmusic.cpp')
-rw-r--r--src/resources/sdlmusic.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/sdlmusic.cpp b/src/resources/sdlmusic.cpp
index e98a1bdd4..af0fbf3a0 100644
--- a/src/resources/sdlmusic.cpp
+++ b/src/resources/sdlmusic.cpp
@@ -73,3 +73,10 @@ bool SDLMusic::play(const int loops, const int fadeIn)
else
return Mix_FadeInMusicPos(mMusic, loops, 0, 0.0);
}
+
+int SDLMusic::calcMemoryLocal()
+{
+ // +++ not used size of SDL_RWops
+ return sizeof(SDLMusic) +
+ Resource::calcMemoryLocal();
+}