mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
Allow copy files from ramdrive to virtual
This commit is contained in:
parent
f5c0e6eb35
commit
1c636b1132
@ -901,8 +901,8 @@ bool PathCopy(const char* destdir, const char* orig, u32* flags) {
|
||||
int odrvtype = DriveType(orig);
|
||||
if ((ddrvtype | odrvtype) & DRV_VIRTUAL) {
|
||||
// users are inventive...
|
||||
if (!(odrvtype & (DRV_SDCARD|DRV_VIRTUAL)) && (ddrvtype & DRV_VIRTUAL)) {
|
||||
ShowPrompt(false, "Only files from SD card are accepted");
|
||||
if (!(odrvtype & (DRV_SDCARD|DRV_RAMDRIVE|DRV_VIRTUAL)) && (ddrvtype & DRV_VIRTUAL)) {
|
||||
ShowPrompt(false, "Only files from SD card or\nramdrive are accepted");
|
||||
return false;
|
||||
}
|
||||
return PathCopyVirtual(destdir, orig, flags);
|
||||
|
Loading…
x
Reference in New Issue
Block a user