mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-26 18:25:41 -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;
|
||||
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…
x
Reference in New Issue
Block a user