Fix exception dump folder creation
This commit is contained in:
parent
4d48238fb1
commit
070f7fcc68
@ -143,6 +143,8 @@ void detectAndProcessExceptionDumps(void)
|
||||
memcpy(&path9[17], fileName, sizeof(fileName));
|
||||
if(!fileWrite((void *)dump, path9, size))
|
||||
{
|
||||
createDirectory("/luma");
|
||||
createDirectory("/luma/dumps");
|
||||
createDirectory("/luma/dumps/arm9");
|
||||
fileWrite((void *)dump, path9, size);
|
||||
}
|
||||
@ -155,6 +157,8 @@ void detectAndProcessExceptionDumps(void)
|
||||
memcpy(&path11[18], fileName, sizeof(fileName));
|
||||
if(!fileWrite((void *)dump, path11, size))
|
||||
{
|
||||
createDirectory("/luma");
|
||||
createDirectory("/luma/dumps");
|
||||
createDirectory("/luma/dumps/arm11");
|
||||
fileWrite((void *)dump, path11, size);
|
||||
}
|
||||
|
Reference in New Issue
Block a user