01-21-2014, 02:28 PM
(01-21-2014, 12:32 AM)onelight Wrote: DLC not work same error
Code:Running Jpcsp 64bit...
java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Unknown Source)
at java.nio.HeapByteBuffer.get(Unknown Source)
at jpcsp.util.Utilities.getUnsignedByte(Utilities.java:220)
at jpcsp.util.Utilities.readWord(Utilities.java:241)
at jpcsp.format.Elf32SectionHeader.<i
nit>(Elf32SectionHeader.java:74)
at jpcsp.format.Elf32.loadSectionHeaders(Elf32.java:92)
at jpcsp.format.Elf32.<init>(Elf32.java:49)
at jpcsp.Loader.LoadELF(Loader.java:340)
at jpcsp.Loader.LoadModule(Loader.java:174)
at jpcsp.Emulator.load(Emula
tor.java:157)
at jpcsp.Emulator.load(Emulator.java:150)
at jpcsp.MainGUI.loadUMD(MainGUI.java:1843)
at jpcsp.MainGUI.loadUMDGame(MainGUI.java:2002)
at jpcsp.MainGUI.loadUMD(MainGUI.java:1877)
at jpcsp.MainGUI$RecentElementActionListener.actionPer
formed(MainGUI.java:3081)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.D
efaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at
java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEve
ntImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEv
ent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
a
t java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Nativ
e Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Sour
ce)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilter
s(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.
pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Ahh, thanks. It appears this ELF file is missing one field of the section header. I'll have to add an extra check to ignore this case.