RGSSAD: Add RGSS2 archive reader

Exactly the same as RGSS1 but different file extension.
Also remove some redundant strings.
This commit is contained in:
Jonas Kulla 2014-07-23 23:05:24 +02:00
parent 1ecdd9f980
commit 6726493ee7
3 changed files with 29 additions and 5 deletions

View file

@ -337,7 +337,9 @@ FileSystem::FileSystem(const char *argv0,
p->extensions[Font].push_back("otf");
PHYSFS_init(argv0);
PHYSFS_registerArchiver(&RGSS_Archiver);
PHYSFS_registerArchiver(&RGSS1_Archiver);
PHYSFS_registerArchiver(&RGSS2_Archiver);
if (allowSymlinks)
PHYSFS_permitSymbolicLinks(1);