소스 검색

implement EmbedFileSystem.dir

trethaller 3 년 전
부모
커밋
4050d68690
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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> {
+		#if macro
 		throw "Not Supported";
+		#else
+		return subFiles(path);
+		#end
 	}
 
 }