- [PSP] Fix for issue 768 : PSP cannot read zipped images from zipped files. This was a lowercase/uppercase issue

- [PSP] added last log message in exception log
This commit is contained in:
wagic.the.homebrew
2011-12-04 07:14:16 +00:00
parent 524c7486f5
commit 70b1879093
3 changed files with 19 additions and 3 deletions

View File

@@ -169,7 +169,9 @@ void ExceptionHandler(PspDebugRegBlock * regs)
FILE *log = fopen("exception.log", "w");
if (log != NULL)
{
char testo[512];
char testo[1024];
pspDebugScreenPrintf("Last Log Message: \n%s\n\n", JLogger::lastLog.c_str());
fwrite(testo, 1, strlen(testo), log);
sprintf(testo, "Exception details:\n\n");
fwrite(testo, 1, strlen(testo), log);
sprintf(testo, "Exception - %s\n", codeTxt[(regs->cause >> 2) & 31]);