EmuNewz Network
error in jpcsp 1981 but not on 1948 - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: svn trunk discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=56)
+---- Thread: error in jpcsp 1981 but not on 1948 (/showthread.php?tid=3577)



error in jpcsp 1981 but not on 1948 - giovannino - 02-07-2011

launching archer mclean mercury gives this error on 1981
java.lang.IllegalArgumentException
at java.nio.Buffer.position(Buffer.java:235)
at jpcsp.format.Elf32.loadProgramHeaders(Elf32.java:65)
at jpcsp.format.Elf32.<init>(Elf32.java:49)
at jpcsp.Loader.LoadELF(Loader.java:286)
at jpcsp.Loader.LoadPSP(Loader.java:276)
at jpcsp.Loader.LoadModule(Loader.java:135)
at jpcsp.HLE.modules150.ModuleMgrForUser.hleKernelLoadModule(ModuleMgrForUser.java:280)
at jpcsp.HLE.modules150.ModuleMgrForUser.sceKernelLoadModule(ModuleMgrForUser.java:360)
at jpcsp.HLE.modules150.ModuleMgrForUser$2.execute(ModuleMgrForUser.java:743)
at jpcsp.HLE.modules.HLEModuleManager.handleSyscall(HLEModuleManager.java:333)
at jpcsp.HLE.SyscallHandler.syscall(SyscallHandler.java:94)
at jpcsp.Allegrex.compiler.RuntimeContext.syscall(RuntimeContext.java:670)
at _S1_2_88EAD4C.s(_S1_2_88EAD4C.java:4)
at _S1_2_884C25C.s(_S1_2_884C25C.java:100)
at _S1_2_884C3BC.s(_S1_2_884C3BC.java:104)
at _S1_2_884C898.s(_S1_2_884C898.java:12)
at _S1_2_882DAA8.s(_S1_2_882DAA8.java:256)
at _S1_2_882DAA8.exec(_S1_2_882DAA8.java)
at jpcsp.Allegrex.compiler.RuntimeContext.runThread(RuntimeContext.java:701)
at jpcsp.Allegrex.compiler.RuntimeThread.run(RuntimeThread.java:51)

The error is not present on 1048
(02-07-2011, 04:36 PM)giovannino Wrote: launching archer mclean mercury gives this error on 1981
java.lang.IllegalArgumentException
at java.nio.Buffer.position(Buffer.java:235)
at jpcsp.format.Elf32.loadProgramHeaders(Elf32.java:65)
at jpcsp.format.Elf32.<init>(Elf32.java:49)
at jpcsp.Loader.LoadELF(Loader.java:286)
at jpcsp.Loader.LoadPSP(Loader.java:276)
at jpcsp.Loader.LoadModule(Loader.java:135)
at jpcsp.HLE.modules150.ModuleMgrForUser.hleKernelLoadModule(ModuleMgrForUser.java:280)
at jpcsp.HLE.modules150.ModuleMgrForUser.sceKernelLoadModule(ModuleMgrForUser.java:360)
at jpcsp.HLE.modules150.ModuleMgrForUser$2.execute(ModuleMgrForUser.java:743)
at jpcsp.HLE.modules.HLEModuleManager.handleSyscall(HLEModuleManager.java:333)
at jpcsp.HLE.SyscallHandler.syscall(SyscallHandler.java:94)
at jpcsp.Allegrex.compiler.RuntimeContext.syscall(RuntimeContext.java:670)
at _S1_2_88EAD4C.s(_S1_2_88EAD4C.java:4)
at _S1_2_884C25C.s(_S1_2_884C25C.java:100)
at _S1_2_884C3BC.s(_S1_2_884C3BC.java:104)
at _S1_2_884C898.s(_S1_2_884C898.java:12)
at _S1_2_882DAA8.s(_S1_2_882DAA8.java:256)
at _S1_2_882DAA8.exec(_S1_2_882DAA8.java)
at jpcsp.Allegrex.compiler.RuntimeContext.runThread(RuntimeContext.java:701)
at jpcsp.Allegrex.compiler.RuntimeThread.run(RuntimeThread.java:51)

The error is not present on 1048

i insvestigated the problem, in 1981 il loader.loadpsp() ther is a call to loadELF(psp.decrypt() wich gives the problem the call is obviously not present in 1948