mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 09:56:30 +00:00
SCI: Remove directory prefix added by QfG3's char import
svn-id: r44423
This commit is contained in:
parent
a04881072a
commit
bec07b42a0
@ -109,6 +109,10 @@ enum {
|
||||
|
||||
|
||||
void file_open(EngineState *s, const char *filename, int mode) {
|
||||
// QfG3 character import prepends /\ to the filenames.
|
||||
if (filename[0] == '/' && filename[1] == '\\')
|
||||
filename += 2;
|
||||
|
||||
Common::String englishName = s->getLanguageString(filename, K_LANG_ENGLISH);
|
||||
const Common::String wrappedName = ((Sci::SciEngine*)g_engine)->wrapFilename(englishName);
|
||||
Common::SeekableReadStream *inFile = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user