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:
		
							parent
							
								
									5382cc11a3
								
							
						
					
					
						commit
						e4558c9dfb
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -46,7 +46,7 @@ fileIntForPath(const char *path, bool rubyExc)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	try
 | 
						try
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		shState->fileSystem().openRead(*ops, path);
 | 
							shState->fileSystem().openReadRaw(*ops, path);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	catch (const Exception &e)
 | 
						catch (const Exception &e)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -266,7 +266,7 @@ runRMXPScripts(mrb_state *mrb, mrbc_context *ctx)
 | 
				
			||||||
	mrb_state *scriptMrb = mrb_open();
 | 
						mrb_state *scriptMrb = mrb_open();
 | 
				
			||||||
	SDL_RWops ops;
 | 
						SDL_RWops ops;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	shState->fileSystem().openRead(ops, scriptPack.c_str());
 | 
						shState->fileSystem().openReadRaw(ops, scriptPack.c_str());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	mrb_value scriptArray = mrb_nil_value();
 | 
						mrb_value scriptArray = mrb_nil_value();
 | 
				
			||||||
	std::string readError;
 | 
						std::string readError;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue