summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-29 03:41:11 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-29 03:41:11 +0300
commit7c020abf511236e2c56fa1c6b6c1b8f248aa8582 (patch)
treeaae0dbb1e1203ea33d1dbf1ff4185268d02a1943 /src/resources/resourcemanager.h
parentfdfd38278cba5fa37d203d0d29b4981e400a529a (diff)
downloadplus-7c020abf511236e2c56fa1c6b6c1b8f248aa8582.tar.gz
plus-7c020abf511236e2c56fa1c6b6c1b8f248aa8582.tar.bz2
plus-7c020abf511236e2c56fa1c6b6c1b8f248aa8582.tar.xz
plus-7c020abf511236e2c56fa1c6b6c1b8f248aa8582.zip
Add name into memory usage tree for SDLMusic and SoundEffect.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r--src/resources/resourcemanager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h
index 92454c0c7..eeda43b33 100644
--- a/src/resources/resourcemanager.h
+++ b/src/resources/resourcemanager.h
@@ -54,7 +54,8 @@ class ResourceManager final : public MemoryCounter
friend class Resource;
public:
- typedef Resource *(*loader)(SDL_RWops *rw);
+ typedef Resource *(*loader)(SDL_RWops *rw,
+ const std::string &name);
typedef Resource *(&generator)(const void *const data);
ResourceManager();