This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
scePsmfPlayerGetPsmfInfo fix
#1
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;
    }


Attached Files Thumbnail(s)
   

.zip   scePsmfPlayer.zip (Size: 6.32 KB / Downloads: 170)
Reply
#2
(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?
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#3
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?


Attached Files
.txt   2985log.txt (Size: 15.51 KB / Downloads: 151)
Reply
#4
(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).
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#5
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).


Attached Files
.txt   2985mlog.txt (Size: 15.51 KB / Downloads: 130)
Reply
#6
I think to now have found the correct return values for scePsmfPlayerGetPsmfInfo. Could you test r2986?

Thank you!
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#7
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!


Attached Files
.txt   2986log.txt (Size: 15.37 KB / Downloads: 131)
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)