mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 05:32:47 +00:00
Fix write permissions when RAMdrive is mounted
This commit is contained in:
parent
6e9a378a36
commit
297bc2ec1b
@ -86,7 +86,7 @@ bool CheckWritePermissions(const char* path) {
|
||||
if (pdrv == 0) {
|
||||
perm = PERM_SDCARD;
|
||||
snprintf(area_name, 16, "the SD card");
|
||||
} else if (GetMountState() == IMG_RAMDRV) {
|
||||
} else if ((pdrv == 7) && (GetMountState() == IMG_RAMDRV)) {
|
||||
perm = PERM_RAMDRIVE;
|
||||
snprintf(area_name, 16, "the RAM drive");
|
||||
} else if (((pdrv >= 1) && (pdrv <= 3)) || (GetVirtualSource(path) == VRT_SYSNAND)) {
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "virtual.h"
|
||||
#include "image.h"
|
||||
|
||||
#define VERSION "0.5.0"
|
||||
#define VERSION "0.5.1"
|
||||
|
||||
#define N_PANES 2
|
||||
#define IMG_DRV "789I"
|
||||
|
Loading…
x
Reference in New Issue
Block a user