summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-16 13:33:32 +0200
committeraap <aap@papnet.eu>2020-04-16 13:33:32 +0200
commit7bd12f4a48e081fb96c4d65d47eb3954afc13f60 (patch)
treee84e756c0886e43f34383fe3e3fe6b390e5ed78d
parentMerge pull request #448 from Nick007J/master (diff)
downloadre3-7bd12f4a48e081fb96c4d65d47eb3954afc13f60.tar
re3-7bd12f4a48e081fb96c4d65d47eb3954afc13f60.tar.gz
re3-7bd12f4a48e081fb96c4d65d47eb3954afc13f60.tar.bz2
re3-7bd12f4a48e081fb96c4d65d47eb3954afc13f60.tar.lz
re3-7bd12f4a48e081fb96c4d65d47eb3954afc13f60.tar.xz
re3-7bd12f4a48e081fb96c4d65d47eb3954afc13f60.tar.zst
re3-7bd12f4a48e081fb96c4d65d47eb3954afc13f60.zip
-rw-r--r--src/fakerw/fake.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fakerw/fake.cpp b/src/fakerw/fake.cpp
index b91a9c49..557318be 100644
--- a/src/fakerw/fake.cpp
+++ b/src/fakerw/fake.cpp
@@ -339,7 +339,7 @@ RwBool rwNativeTextureHackRead(RwStream *stream, RwTexture **tex, RwInt32 size)
RwTexDictionary *RwTexDictionaryCreate(void) { return TexDictionary::create(); }
RwBool RwTexDictionaryDestroy(RwTexDictionary * dict) { dict->destroy(); return true; }
-RwTexture *RwTexDictionaryAddTexture(RwTexDictionary * dict, RwTexture * texture) { dict->add(texture); return texture; }
+RwTexture *RwTexDictionaryAddTexture(RwTexDictionary * dict, RwTexture * texture) { dict->addFront(texture); return texture; }
//RwTexture *RwTexDictionaryRemoveTexture(RwTexture * texture);
RwTexture *RwTexDictionaryFindNamedTexture(RwTexDictionary * dict, const RwChar * name) { return dict->find(name); }
RwTexDictionary *RwTexDictionaryGetCurrent(void) { return TexDictionary::getCurrent(); }