Closed GoogleCodeExporter closed 9 years ago
Let me withdraw one thing: apparently Emumaster crashed on exit before, since I
even mentioned it on my blog. I think CSPSP is supposed to exit ok, though.
Original comment by wagic.the.homebrew@gmail.com
on 14 Nov 2010 at 10:14
I have trouble "force exiting" from the homebrew game Mobile assault 1.4.2 , I
always get a freeze, Is this in anyway related to this issue?
Original comment by karkinis...@gmail.com
on 14 Nov 2010 at 2:01
PSPdisp also crashes on exit
Original comment by karkinis...@gmail.com
on 15 Nov 2010 at 2:27
It's always a small change that turns out to be a deal breaker.
In run_nid() there was a logstr1() call that I made debug only in R107 (by
writing LOGSTR1). Turns out that this call is necessary to (I guess) invalidate
the instruction cache or smth. Because without it calling function() freezes
and shuts down the PSP. Actually this bug should cause trouble for all homebrew
that use network functions. I could verify it for PSPdisp and CSPSP.
I will submit a fix in the next revision. Also I think we should keep track of
sceIoOpen/Close calls because some homebrew like gpsp leave files open. This
most likely causes the crash when running another homebrew.
Original comment by jochen.s...@gmail.com
on 15 Nov 2010 at 8:54
Nice catch and good news for gpsp, it should be easy to have a simple array of
8 file descriptors in the global variables structure, and override
sceIoOpen/sceIoclose (maybe the Async versions too ?)
Original comment by wagic.the.homebrew@gmail.com
on 15 Nov 2010 at 9:17
Should be fixed in R109.
I also added hooking for sceIoOpen/sceIoClose (no async yet). This was not the
problem with gpsp though. It was actually caused by gpsp registering a lot of
subinterrupt handlers. They not get released on exit.
Original comment by jochen.s...@gmail.com
on 15 Nov 2010 at 4:46
Original comment by jochen.s...@gmail.com
on 15 Nov 2010 at 9:14
Original issue reported on code.google.com by
wagic.the.homebrew@gmail.com
on 14 Nov 2010 at 10:13