sifadil / pcsx2-playground

Automatically exported from code.google.com/p/pcsx2-playground
2 stars 0 forks source link

Persona 3FES crush when load save from mc in sigle-threaded mode #79

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This bug happened only in signle-threaded mode (for uncrertain reason,
realy), and look following: when I try to load a savegame (under Linux),
I'v segfaulted.

Thank's for assertions, I quickly found source of trouble:

pcsx2: iVUmicro.c:3549: recVUMI_FTOI_Saturate: Assertion
`rec_tmp1!=rec_tmp2' failed.

So the reason was in small error with patch 414:

file iVUmicro.c:3590
    if( t1reg >= 0 ) { // If theres a temp XMM reg available
        for (t2reg = 0; ( (t2reg == EEREC_S) || (t2reg == EEREC_T) || (t2reg ==
EEREC_TEMP) ); t2reg++)
                ; // Find unused reg (For second temp reg)

this code could made t2reg and t1 reg's the same! So when I add t2reg ==
t1reg, it's fixed. There was 4 places with t1 and t2 (and in 4 others this
comparison was maded).

Well, patch is included.

Original issue reported on code.google.com by Zeydl...@gmail.com on 14 Dec 2008 at 11:22

Attachments:

GoogleCodeExporter commented 8 years ago
Oddly enough, I fixed this issue in svn before seeing that you'd submitted it. 
:)

Original comment by arcum42@gmail.com on 15 Dec 2008 at 2:59

GoogleCodeExporter commented 8 years ago

Original comment by arcum42@gmail.com on 15 Dec 2008 at 2:59

GoogleCodeExporter commented 8 years ago

Original comment by arcum42@gmail.com on 15 Dec 2008 at 3:00

GoogleCodeExporter commented 8 years ago
Forgot to close this, didn't I?

Original comment by arcum42@gmail.com on 25 Dec 2008 at 12:34