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
Fix Memories Off loading(ThreadManForUser.java)
#1
r3140 ,read32 - Invalid memory address : 0x8 PC=08902F94 .
Need change HLE/modules150/ThreadManForUser.java line 1187
Code:
if (thread.status == PSP_THREAD_WAITING && newStatus != PSP_THREAD_WAITING_SUSPEND) {
change to
Code:
if (thread.status == PSP_THREAD_WAITING) {
Attach both info log(debug log black screen)
(This fix is found by my friend.)


Attached Files
.txt   3140log.txt (Size: 19.1 KB / Downloads: 143)
.txt   3940mlog.txt (Size: 19.65 KB / Downloads: 147)
.zip   ThreadManForUser.zip (Size: 28.26 KB / Downloads: 155)
Reply
#2
Thank Sum2012‘post.
Another method
change HLE/modules150/ThreadManForUser.java line 1256
Code:
(line 1256) } else if (thread.isSuspended()){
            if (thread.wait.waitTimeoutAction != null) {
                Scheduler.getInstance().removeAction(thread.wait.microTimeTimeout, thread.wait.waitTimeoutAction);
                thread.wait.waitTimeoutAction = null;
            }
                thread.doCallbacks = false;
        }
Reply
#3
Does it help to change ThreadManForUser line 947 from
Code:
hleChangeThreadState(thread, PSP_THREAD_READY);
to
Code:
hleChangeThreadState(thread, thread.isSuspended() ? PSP_THREAD_SUSPEND : PSP_THREAD_READY);
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#4
(05-15-2013, 08:47 AM)gid15 Wrote: Does it help to change ThreadManForUser line 947 from
Code:
hleChangeThreadState(thread, PSP_THREAD_READY);
to
Code:
hleChangeThreadState(thread, thread.isSuspended() ? PSP_THREAD_SUSPEND : PSP_THREAD_READY);

Yes,fixed.Thanks for providing better method.
Reply
#5
(05-07-2013, 10:49 PM)sum2012 Wrote: r3140 ,read32 - Invalid memory address : 0x8 PC=08902F94 .
Need change HLE/modules150/ThreadManForUser.java line 1187
Code:
if (thread.status == PSP_THREAD_WAITING && newStatus != PSP_THREAD_WAITING_SUSPEND) {
change to
Code:
if (thread.status == PSP_THREAD_WAITING) {
Attach both info log(debug log black screen)
(This fix is found by my friend.)
Thank you to your friend Smile this lead me to the right fix.
The problem should now be fixed in r3141.
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#6
Thanks you for right fix Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)