I'm betting this is really simple but it's driving me mad.
My game works fine, however I'm now trying to add an exception handler to catch an occasional crash that never happens when I want it to. I've done this by adding 'pspDebugInstallErrorHandler(NULL);' at the top of main() and included pspdebug.h.
When I try to run it however, I get the dreaded '80020001' message. Comment out that line, and it runs perfectly.
mess around with these and your problem should be fixed.
if everything works for you please let me know how you did it cuase i can't seem to get it to work :( and i have also an bug which only comes someties when you play for 20 minutes :S
Sort of works - it loads up immediately to an exception screen saying "Coprocessor unusable", and a couple of the registers (s6 and s7) are "DEADBEEF"...
pspDebugInstallErrorHandler(NULL); would use the default
best for you to handle yourself ..just take a look at exception
sample in samples/debug and use your own like this simply
pspDebugInstallErrorHandler(myErrorHandler());
Installing my own exception handler (from another piece of code) gave the same black screen and shutdown.
I have been using psplink, but unfortunately my program finds it hilarious if it only crashes when I'm not ready for it - especially when I'm not debugging!