EmuNewz Network

Full Version: scePsmfPlayerGetPsmfInfo fix
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Fixed by my friend(slore)
Make Dangan Ronpa -NPJH50372 can see movie in nornal
(Press new Game, will see the first movie fly to the universe)

/trunk/src/jpcsp/HLE/modules150/scePsmfPlayer.java
change from setValue to getValue

Code:
@HLEFunction(nid = 0xDF089680, version = 150, checkInsideInterrupt = true)
   public int scePsmfPlayerGetPsmfInfo(@CheckArgument("checkPlayerInitialized") int psmfPlayer, TPointer32 psmfInfoAddr) {
        if (psmfPlayerStatus < PSMF_PLAYER_STATUS_STANDBY) {
            return ERROR_PSMFPLAYER_NOT_INITIALIZED;
        }
        psmfCurrentPts = psmfInfoAddr.getValue(0);
        psmfAvcStreamNum = psmfInfoAddr.getValue(4);
        psmfAtracStreamNum = psmfInfoAddr.getValue(8);
        psmfPcmStreamNum = psmfInfoAddr.getValue(12);
        psmfPlayerVersion = psmfInfoAddr.getValue(16);
        return 0;
    }
(02-19-2013, 03:07 PM)sum2012 Wrote: [ -> ]Fixed by my friend(slore)
Make Dangan Ronpa -NPJH50372 can see movie in nornal
(Press new Game, will see the first movie fly to the universe)

/trunk/src/jpcsp/HLE/modules150/scePsmfPlayer.java
change from setValue to getValue
I've tried another fix for scePsmfPlayerGetPsmfInfo in r2985. Does it help?
Do not help.
It display
Code:
04:59:22  INFO hle.sceMpeg - movieMainThread - sceMpegFinish
very fast
(02-24-2013, 06:07 PM)gid15 Wrote: [ -> ]
(02-19-2013, 03:07 PM)sum2012 Wrote: [ -> ]Fixed by my friend(slore)
Make Dangan Ronpa -NPJH50372 can see movie in nornal
(Press new Game, will see the first movie fly to the universe)

/trunk/src/jpcsp/HLE/modules150/scePsmfPlayer.java
change from setValue to getValue
I've tried another fix for scePsmfPlayerGetPsmfInfo in r2985. Does it help?
(02-24-2013, 09:04 PM)sum2012 Wrote: [ -> ]Do not help.
It display
Code:
04:59:22  INFO hle.sceMpeg - movieMainThread - sceMpegFinish
very fast
Does it help to change scePsmfPlayerGetPsmfInfo line 642 into:
Code:
psmfInfoAddr.setValue(0, (int) psmfPlayerAtracAu.pts);
(psmfPlayerAtracAu instead of psmfPlayerAvcAu).
No help.same
(02-25-2013, 11:19 AM)gid15 Wrote: [ -> ]Does it help to change scePsmfPlayerGetPsmfInfo line 642 into:
Code:
psmfInfoAddr.setValue(0, (int) psmfPlayerAtracAu.pts);
(psmfPlayerAtracAu instead of psmfPlayerAvcAu).
I think to now have found the correct return values for scePsmfPlayerGetPsmfInfo. Could you test r2986?

Thank you!
Well done Smile .You always find better solution than me.
(02-26-2013, 08:04 PM)gid15 Wrote: [ -> ]I think to now have found the correct return values for scePsmfPlayerGetPsmfInfo. Could you test r2986?

Thank you!