beardypig / ghidra-emotionengine

Ghidra Processor for the Play Station 2's Emotion Engine MIPS based CPU
Apache License 2.0
200 stars 34 forks source link

PCSX2SaveStateImporter doesn't run in Ghidra 9.2 #46

Closed tatokis closed 3 years ago

tatokis commented 3 years ago

Attempting to run PCSX2SaveStateImporter in Ghidra 9.2.0 results in

ImportMMIORegisterLabels.java:30: error: incompatible types: java.util.List<ghidra.program.model.lang.Register> cannot be converted to ghidra.program.model.lang.Register[]
        Register[] registers = currentProgram.getLanguage().getRegisters();
                                                                        ^
PCSX2SaveStateImporter.java:100: error: initializeBlock(byte) is not public in ghidra.program.database.mem.MemoryBlockDB; cannot be accessed from outside package
                ((MemoryBlockDB) block).initializeBlock((byte) 0);
                                       ^
skipping ~/.ghidra/.ghidra_9.2_PUBLIC/Extensions/ghidra-emotionengine/ghidra_scripts/PCSX2SaveStateImporter.java
skipping ~/.ghidra/.ghidra_9.2_PUBLIC/Extensions/ghidra-emotionengine/ghidra_scripts/ImportMMIORegisterLabels.java
> Unable to locate script class: PCSX2SaveStateImporter.java
tatokis commented 3 years ago

Thanks!