mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-04 19:55:27 +02:00
Just return error if current directory not be setted.
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) {
|
||||
if (error == 0) {
|
||||
*system = mountPoint->system;
|
||||
return error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user