mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-03 03:05:18 +02:00
Don't ignore SCE_KERNEL_ERROR_NOCWD in many cases.
Use a error 1 to mean the uccessful mapping but carry with SCE_KERNEL_ERROR_NOCWD error.
This commit is contained in:
@@ -79,7 +79,7 @@ public:
|
||||
inline int MapFilePath(const std::string &_inpath, std::string &outpath, IFileSystem **system) {
|
||||
MountPoint *mountPoint;
|
||||
int error = MapFilePath(_inpath, outpath, &mountPoint);
|
||||
if (error == 0 || error == SCE_KERNEL_ERROR_NOCWD) {
|
||||
if (error >= 0) {
|
||||
*system = mountPoint->system;
|
||||
return error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user