mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 18:35:43 -04: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;
|
flags |= _O_BINARY;
|
||||||
tmode++;
|
tmode++;
|
||||||
}
|
}
|
||||||
|
else if (*tmode == L'S')
|
||||||
|
{
|
||||||
|
flags |= _O_SEQUENTIAL;
|
||||||
|
tmode++;
|
||||||
|
}
|
||||||
|
else if (*tmode == L'R')
|
||||||
|
{
|
||||||
|
flags |= _O_RANDOM;
|
||||||
|
tmode++;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Log_ErrorPrintf("Unknown mode flags: '%s'", StringUtil::WideStringToUTF8String(mode).c_str());
|
Log_ErrorPrintf("Unknown mode flags: '%s'", StringUtil::WideStringToUTF8String(mode).c_str());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user