mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-08 07:51:19 +12:00
FSA: Add missing path translations (#413)
This commit is contained in:
parent
76c75f767b
commit
2461464ba7
3 changed files with 13 additions and 13 deletions
|
@ -441,7 +441,7 @@ bool fsc_nextDir(FSCVirtualFile* fscFile, FSCDirEntry* dirEntry)
|
|||
/*
|
||||
* Create directory
|
||||
*/
|
||||
bool fsc_createDir(char* path, sint32* fscStatus)
|
||||
bool fsc_createDir(const char* path, sint32* fscStatus)
|
||||
{
|
||||
fscDeviceC* fscDevice = NULL;
|
||||
*fscStatus = FSC_STATUS_UNDEFINED;
|
||||
|
@ -461,7 +461,7 @@ bool fsc_createDir(char* path, sint32* fscStatus)
|
|||
/*
|
||||
* Rename file or directory
|
||||
*/
|
||||
bool fsc_rename(char* srcPath, char* dstPath, sint32* fscStatus)
|
||||
bool fsc_rename(const char* srcPath, const char* dstPath, sint32* fscStatus)
|
||||
{
|
||||
std::string srcDevicePath;
|
||||
std::string dstDevicePath;
|
||||
|
@ -481,7 +481,7 @@ bool fsc_rename(char* srcPath, char* dstPath, sint32* fscStatus)
|
|||
/*
|
||||
* Delete file or subdirectory
|
||||
*/
|
||||
bool fsc_remove(char* path, sint32* fscStatus)
|
||||
bool fsc_remove(const char* path, sint32* fscStatus)
|
||||
{
|
||||
std::string devicePath;
|
||||
fscDeviceC* fscDevice = NULL;
|
||||
|
|
|
@ -167,9 +167,9 @@ void fsc_unmountAll();
|
|||
|
||||
FSCVirtualFile* fsc_open(const char* path, FSC_ACCESS_FLAG accessFlags, sint32* fscStatus, sint32 maxPriority=FSC_PRIORITY_MAX);
|
||||
FSCVirtualFile* fsc_openDirIterator(const char* path, sint32* fscStatus);
|
||||
bool fsc_createDir(char* path, sint32* fscStatus);
|
||||
bool fsc_rename(char* srcPath, char* dstPath, sint32* fscStatus);
|
||||
bool fsc_remove(char* path, sint32* fscStatus);
|
||||
bool fsc_createDir(const char* path, sint32* fscStatus);
|
||||
bool fsc_rename(const char* srcPath, const char* dstPath, sint32* fscStatus);
|
||||
bool fsc_remove(const char* path, sint32* fscStatus);
|
||||
bool fsc_nextDir(FSCVirtualFile* fscFile, FSCDirEntry* dirEntry);
|
||||
void fsc_close(FSCVirtualFile* fscFile);
|
||||
uint32 fsc_getFileSize(FSCVirtualFile* fscFile);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue