diff options
author | Max Horn | 2009-02-18 19:19:29 +0000 |
---|---|---|
committer | Max Horn | 2009-02-18 19:19:29 +0000 |
commit | 4493c757b533b6b8fa4222cbe2ce911c9e9b21f8 (patch) | |
tree | ded3e8ba94088511331dbebd19d3309f280c4701 /engines | |
parent | 766783b493b147076e434214a6aff6b3c2f8cd9b (diff) | |
download | scummvm-rg350-4493c757b533b6b8fa4222cbe2ce911c9e9b21f8.tar.gz scummvm-rg350-4493c757b533b6b8fa4222cbe2ce911c9e9b21f8.tar.bz2 scummvm-rg350-4493c757b533b6b8fa4222cbe2ce911c9e9b21f8.zip |
SCI: Added G_DIR_SEPARATOR to scicore/resource.cpp for now (I'll remove it again soon)
svn-id: r38498
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/scicore/resource.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/sci/scicore/resource.cpp b/engines/sci/scicore/resource.cpp index bb612afe3e..68cd5e985b 100644 --- a/engines/sci/scicore/resource.cpp +++ b/engines/sci/scicore/resource.cpp @@ -34,6 +34,15 @@ #undef SCI_REQUIRE_RESOURCE_FILES /* #define SCI_VERBOSE_RESMGR 1 */ +// FIXME: Get rid of G_DIR_SEPARATOR / G_DIR_SEPARATOR_S +#if _MSC_VER +# define G_DIR_SEPARATOR_S "\\" +# define G_DIR_SEPARATOR '\\' +#else +# define G_DIR_SEPARATOR_S "/" +# define G_DIR_SEPARATOR '/' +#endif + const char* sci_version_types[] = { "SCI version undetermined (Autodetect failed / not run)", "SCI version 0.xxx", |