aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie/resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/groovie/resource.cpp')
-rw-r--r--engines/groovie/resource.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/groovie/resource.cpp b/engines/groovie/resource.cpp
index 5d4ccf7d91..2cb571b4cc 100644
--- a/engines/groovie/resource.cpp
+++ b/engines/groovie/resource.cpp
@@ -173,6 +173,7 @@ bool ResMan_t7g::getResInfo(uint32 fileRef, ResInfo &resInfo) {
char resname[12];
rlFile->read(resname, 12);
debugC(2, kGroovieDebugResource | kGroovieDebugAll, "Groovie::Resource: Resource name: %12s", resname);
+ resInfo.filename = resname;
// Read the resource information
resInfo.offset = rlFile->readUint32LE();
@@ -247,6 +248,7 @@ bool ResMan_v2::getResInfo(uint32 fileRef, ResInfo &resInfo) {
char resname[12];
rlFile.read(resname, 12);
debugC(2, kGroovieDebugResource | kGroovieDebugAll, "Groovie::Resource: Resource name: %12s", resname);
+ resInfo.filename = resname;
// 6 padding bytes? (it looks like they're always 0)