Skip to content

Commit

Permalink
Use FS::openReadRaw() where ext supplementing makes no sense
Browse files Browse the repository at this point in the history
Specifically, in places where the full filename is always supplied,
eg. when reading .rxdata type files.
  • Loading branch information
Ancurio committed Jul 9, 2015
1 parent 5382cc1 commit e4558c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion binding-mri/filesystem-binding.cpp
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion binding-mruby/binding-mruby.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit e4558c9

Please sign in to comment.