mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	citra_android: Storage Access Framework implementation (#6313)
This commit is contained in:
		
							parent
							
								
									8c12eb4905
								
							
						
					
					
						commit
						8d563d37b4
					
				
					 68 changed files with 1972 additions and 545 deletions
				
			
		|  | @ -10,6 +10,9 @@ | |||
| #include "common/string_util.h" | ||||
| #include "video_core/renderer_opengl/post_processing_opengl.h" | ||||
| 
 | ||||
| #include <boost/iostreams/device/file_descriptor.hpp> | ||||
| #include <boost/iostreams/stream.hpp> | ||||
| 
 | ||||
| namespace OpenGL { | ||||
| 
 | ||||
| // The Dolphin shader header is added here for drop-in compatibility with most
 | ||||
|  | @ -193,9 +196,9 @@ std::string GetPostProcessingShaderCode(bool anaglyph, std::string_view shader) | |||
|         return ""; | ||||
|     } | ||||
| 
 | ||||
|     std::ifstream file; | ||||
|     OpenFStream(file, shader_path, std::ios_base::in); | ||||
|     if (!file) { | ||||
|     boost::iostreams::stream<boost::iostreams::file_descriptor_source> file; | ||||
|     FileUtil::OpenFStream<std::ios_base::in>(file, shader_path); | ||||
|     if (!file.is_open()) { | ||||
|         return ""; | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue