Loader: Add a GetFileType method to get the type of a loaded file
This commit is contained in:
		@@ -173,6 +173,14 @@ public:
 | 
			
		||||
     */
 | 
			
		||||
    static FileType IdentifyType(FileUtil::IOFile& file);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Returns the type of this file
 | 
			
		||||
     * @return FileType corresponding to the loaded file
 | 
			
		||||
     */
 | 
			
		||||
    FileType GetFileType() override {
 | 
			
		||||
        return IdentifyType(file);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Load the application
 | 
			
		||||
     * @return ResultStatus result of function
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user