Explorar o código

Support .ane for -swf-lib and -swf-lib-extern.

Thanks Simn, closes #2011.
Bruno Garcia %!s(int64=12) %!d(string=hai) anos
pai
achega
baf20d84cd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      genswf.ml

+ 1 - 1
genswf.ml

@@ -458,7 +458,7 @@ let remove_debug_infos as3 =
 
 let parse_swf com file =
 	let t = Common.timer "read swf" in
-	let is_swc = file_extension file = "swc" in
+	let is_swc = file_extension file = "swc" || file_extension file = "ane" in
 	let file = (try Common.find_file com file with Not_found -> failwith ((if is_swc then "SWC" else "SWF") ^ " Library not found : " ^ file)) in
 	let ch = if is_swc then begin
 		let zip = Zip.open_in file in