Use FS::openReadRaw() where ext supplementing makes no sense

Specifically, in places where the full filename is always supplied,
eg. when reading .rxdata type files.
This commit is contained in:
Jonas Kulla 2015-07-09 12:58:01 +02:00
parent 5382cc11a3
commit e4558c9dfb
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ fileIntForPath(const char *path, bool rubyExc)
try
{
shState->fileSystem().openRead(*ops, path);
shState->fileSystem().openReadRaw(*ops, path);
}
catch (const Exception &e)
{

View File

@ -266,7 +266,7 @@ runRMXPScripts(mrb_state *mrb, mrbc_context *ctx)
mrb_state *scriptMrb = mrb_open();
SDL_RWops ops;
shState->fileSystem().openRead(ops, scriptPack.c_str());
shState->fileSystem().openReadRaw(ops, scriptPack.c_str());
mrb_value scriptArray = mrb_nil_value();
std::string readError;