mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-17 21:38:10 +00:00
Experimental execution of AS1/2 in FFDec Flash viewer (very basic, needs testing and many improvements)
This commit is contained in:
@@ -28,6 +28,7 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
import com.jpexs.decompiler.flash.action.Action;
|
||||
import com.jpexs.decompiler.flash.action.ActionLocalData;
|
||||
import com.jpexs.decompiler.flash.action.LocalDataArea;
|
||||
import com.jpexs.decompiler.flash.action.Stage;
|
||||
import com.jpexs.decompiler.flash.action.swf4.ActionAdd;
|
||||
import com.jpexs.decompiler.flash.action.swf4.ActionAnd;
|
||||
import com.jpexs.decompiler.flash.action.swf4.ActionAsciiToChar;
|
||||
@@ -488,7 +489,7 @@ public class FlashPlayerTest {
|
||||
|
||||
String ffdecExecuteResult;
|
||||
try {
|
||||
LocalDataArea lda = new LocalDataArea();
|
||||
LocalDataArea lda = new LocalDataArea(new Stage());
|
||||
for (Action a : newActions) {
|
||||
if (!a.execute(lda)) {
|
||||
fail();
|
||||
@@ -538,7 +539,7 @@ public class FlashPlayerTest {
|
||||
}
|
||||
}*/
|
||||
|
||||
/*if (!ffdecResult.equals(flashResult)) {
|
||||
/*if (!ffdecResult.equals(flashResult)) {
|
||||
LocalDataArea lda = new LocalDataArea();
|
||||
for (Action a : task.actions) {
|
||||
if (!a.execute(lda)) {
|
||||
|
||||
Reference in New Issue
Block a user