mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-02-16 19:05:39 +00:00
Common/FileSystem: Handle S/R modes for UWP
This commit is contained in:
parent
95f0185b5c
commit
e8c16056b6
|
@ -872,6 +872,16 @@ std::FILE* OpenCFileUWP(const wchar_t* wfilename, const wchar_t* mode)
|
|||
flags |= _O_BINARY;
|
||||
tmode++;
|
||||
}
|
||||
else if (*tmode == L'S')
|
||||
{
|
||||
flags |= _O_SEQUENTIAL;
|
||||
tmode++;
|
||||
}
|
||||
else if (*tmode == L'R')
|
||||
{
|
||||
flags |= _O_RANDOM;
|
||||
tmode++;
|
||||
}
|
||||
else
|
||||
{
|
||||
Log_ErrorPrintf("Unknown mode flags: '%s'", StringUtil::WideStringToUTF8String(mode).c_str());
|
||||
|
|
Loading…
Reference in a new issue