07-10-2022, 11:44 AM
Starting on commit 84804dd, using the External Software Renderer causes the following message to appear on the console window:
Note that this error message doesn't always appear on the console window when clicking Run on the emulator to start the game/application but appears a majority of the time.
Code:
Exception in thread "GUI" java.lang.IllegalArgumentException
at java.nio.Buffer.limit(Unknown Source)
at jpcsp.graphics.RE.DirectBufferUtilities.getDirectBuffer(DirectBufferUtilities.java:62)
at jpcsp.graphics.RE.RenderingEngineLwjgl.setTexSubImage(RenderingEngineLwjgl.java:1122)
at jpcsp.graphics.RE.BaseRenderingEngineProxy.setTexSubImage(BaseRenderingEngineProxy.java:707)
at jpcsp.graphics.RE.BaseRenderingEngineProxy.setTexSubImage(BaseRenderingEngineProxy.java:707)
at jpcsp.graphics.RE.BaseRenderingEngineProxy.setTexSubImage(BaseRenderingEngineProxy.java:707)
at jpcsp.graphics.RE.BaseRenderingEngineProxy.setTexSubImage(BaseRenderingEngineProxy.java:707)
at jpcsp.graphics.VideoEngineUtilities.drawFromMemory(VideoEngineUtilities.java:291)
at jpcsp.graphics.VideoEngineUtilities.drawFrameBufferFromMemory(VideoEngineUtilities.java:282)
at jpcsp.HLE.modules.sceDisplay$AWTGLCanvas_sceDisplay.paintGL(sceDisplay.java:320)
at org.lwjgl.opengl.awt.AWTGLCanvas.render(AWTGLCanvas.java:107)
at jpcsp.HLE.modules.sceDisplay$AWTGLCanvas_sceDisplay.paint(sceDisplay.java:151)
at java.awt.Canvas.update(Unknown Source)
at sun.awt.RepaintArea.updateComponent(Unknown Source)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(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)