Ver código fonte

implement EmbedFileSystem.dir

trethaller 3 anos atrás
pai
commit
4050d68690
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4 0
      hxd/fs/EmbedFileSystem.hx

+ 4 - 0
hxd/fs/EmbedFileSystem.hx

@@ -244,7 +244,11 @@ class EmbedFileSystem #if !macro implements FileSystem #end {
 	}
 	}
 
 
 	public function dir( path : String ) : Array<FileEntry> {
 	public function dir( path : String ) : Array<FileEntry> {
+		#if macro
 		throw "Not Supported";
 		throw "Not Supported";
+		#else
+		return subFiles(path);
+		#end
 	}
 	}
 
 
 }
 }