EmuNewz Network
Final Fantasy IV Complete Collection - ULUS10560 - 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: Commercial Game Discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=54)
+----- Forum: JPCSP - Playable Games (https://www.emunewz.net/forum/forumdisplay.php?fid=65)
+----- Thread: Final Fantasy IV Complete Collection - ULUS10560 (/showthread.php?tid=4288)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48


RE: Final Fantasy IV Complete Collection - ULUS10560 - gid15 - 10-07-2015

(10-06-2015, 09:20 AM)DragonNeos Wrote: This game was tested with revision 05c4200. The emulator seems to have a problem with the opening video as JPCSP encounters an error and cannot proceed further in the game. The opening video must be skipped in order to reach the Title Screen.
Code:
Exception in thread "Video Decoder Thread" java.lang.ArrayIndexOutOfBoundsException: -1
    at jpcsp.HLE.modules.sceDisplay.getPixelFormatBytes(sceDisplay.java:1246)
    at jpcsp.HLE.modules.sceMpeg.writeImageABGR(sceMpeg.java:1819)
    at jpcsp.HLE.modules.sceMpeg.decodeImage(sceMpeg.java:1188)
    at jpcsp.HLE.modules.sceMpeg.restartThread(sceMpeg.java:1215)
    at jpcsp.HLE.modules.sceMpeg.hleVideoDecoderStep(sceMpeg.java:1347)
    at jpcsp.HLE.modules.sceMpeg.access$500(sceMpeg.java:86)
    at jpcsp.HLE.modules.sceMpeg$VideoDecoderThread.run(sceMpeg.java:1057)
Is this exception fixed in 596803c?


RE: Final Fantasy IV Complete Collection - ULUS10560 - DragonNeos - 10-08-2015

While this exception is fixed on revision 596803c, a different type of error will appear after the end of either the first or second opening video with the option "Ignore invalid memory access (not recommended for test reports, but improves performance)" enabled.
Code:
22:28:36 ERROR  runtime - MyThread-Sound-Sub2 - Catched Throwable in RuntimeThread:
java.lang.ArrayIndexOutOfBoundsException: 267795637
    at _S1_2_8931F54.s(_S1_2_8931F54.java:4)
    at _S1_2_8929CA4.s(_S1_2_8929CA4.java:20)
    at _S1_2_892BB30.s(_S1_2_892BB30.java:88)
    at _S1_2_8932E68.s(_S1_2_8932E68.java:40)
    at _S1_2_8932E68.exec(_S1_2_8932E68.java)
    at jpcsp.Allegrex.compiler.RuntimeContext.execWithReturnAddress(RuntimeContext.java:685)
    at jpcsp.Allegrex.compiler.RuntimeContext.runThread(RuntimeContext.java:726)
    at jpcsp.Allegrex.compiler.RuntimeThread.run(RuntimeThread.java:50)

If this option is not enabled, the following would appear in a log in a loop while the emulator is stuck on Pause:
Code:
21:43:38 ERROR   memory - MyThread-Sound-Sub2 - read8 - Invalid memory address: 0x000000C4 PC=0x0892BB68
21:44:31 ERROR   memory - MyThread-Sound-Sub2 - read32 - Invalid memory address: 0x00000004 PC=0x08929CB8
21:44:35 ERROR   memory - MyThread-Sound-Sub2 - read32 - Invalid memory address: 0x00000000 PC=0x08931F58
21:44:35 ERROR   memory - MyThread-Sound-Sub2 - read32 - Invalid memory address: 0x00000004 PC=0x08929CBC
21:44:36 ERROR   memory - MyThread-Sound-Sub2 - read8 - Invalid memory address: 0x000000C9 PC=0x08929CC4
21:44:36 ERROR   memory - MyThread-Sound-Sub2 - read32 - Invalid memory address: 0x00000000 PC=0x08931FC0
...