mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 12:30:52 +00:00
AS3: Parameter names disabled, because Flash CS5.5 inserts invalid param names indices that may cause problems
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
*/
|
||||
package com.jpexs.asdec.abc.methodinfo_parser;
|
||||
|
||||
import com.jpexs.asdec.Main;
|
||||
import com.jpexs.asdec.abc.ABC;
|
||||
import com.jpexs.asdec.abc.types.MethodInfo;
|
||||
import com.jpexs.asdec.abc.types.ValueKind;
|
||||
@@ -202,6 +203,9 @@ public class MethodInfoParser {
|
||||
useParamNames=true;
|
||||
}
|
||||
}
|
||||
if(!Main.PARAM_NAMES_ENABLE){
|
||||
useParamNames=false;
|
||||
}
|
||||
if(useParamNames){
|
||||
update.setFlagHas_paramnames();
|
||||
update.paramNames=new int[paramNames.size()];
|
||||
|
||||
Reference in New Issue
Block a user